corrected a few warnings

This commit is contained in:
James Lopez 2016-06-13 15:33:28 +02:00
parent 6f0c503397
commit e5cf4cd745
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ module Gitlab
end
def restore
return false unless File.exists?(@path_to_bundle) || wiki?
return false unless File.exist?(@path_to_bundle) || wiki?
FileUtils.mkdir_p(path_to_repo)