Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
riyad committed Jan 19, 2013
1 parent 75447fb commit 47e510e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/initializers/2_app.rb
Expand Up @@ -3,6 +3,6 @@ module Gitlab
Revision = `git log --pretty=format:'%h' -n 1`

def self.config
Settings
Settings
end
end
2 changes: 1 addition & 1 deletion lib/tasks/gitlab/info.rake
Expand Up @@ -55,7 +55,7 @@ namespace :gitlab do

# check Gitolite version
gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION"
if File.exists?(gitolite_version_file) && File.readable?(gitolite_version_file)
if File.readable?(gitolite_version_file)
gitolite_version = File.read(gitolite_version_file)
end

Expand Down

0 comments on commit 47e510e

Please sign in to comment.