Small fixes
This commit is contained in:
parent
75447fb044
commit
47e510e14f
2 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,6 @@ module Gitlab
|
|||
Revision = `git log --pretty=format:'%h' -n 1`
|
||||
|
||||
def self.config
|
||||
Settings
|
||||
Settings
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue