fixed deprecation warning
This commit is contained in:
parent
cc32260394
commit
86e4751011
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue