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

fixed deprecation warning

parent cc322603
......@@ -26,7 +26,7 @@ def path_to_repo
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