Commit 86e47510 authored by James Lopez's avatar James Lopez

fixed deprecation warning

parent cc322603
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment