Commit 47e510e14f53cf4d46adeda61069d2c3a591107f
1 parent
75447fb0
Exists in
master
and in
4 other branches
Small fixes
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
config/initializers/2_app.rb
lib/tasks/gitlab/info.rake
| ... | ... | @@ -55,7 +55,7 @@ namespace :gitlab do |
| 55 | 55 | |
| 56 | 56 | # check Gitolite version |
| 57 | 57 | gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION" |
| 58 | - if File.exists?(gitolite_version_file) && File.readable?(gitolite_version_file) | |
| 58 | + if File.readable?(gitolite_version_file) | |
| 59 | 59 | gitolite_version = File.read(gitolite_version_file) |
| 60 | 60 | end |
| 61 | 61 | ... | ... |