fixed deprecation warning

This commit is contained in:
James Lopez 2016-06-13 13:42:30 +02:00
parent cc32260394
commit 86e4751011
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module Gitlab
end
def wiki_repository_exists?
File.exists?(@wiki.repository.path_to_repo) && !@wiki.repository.empty?
File.exist?(@wiki.repository.path_to_repo) && !@wiki.repository.empty?
end
end
end