summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gitlab/import_export/wiki_repo_saver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/wiki_repo_saver.rb b/lib/gitlab/import_export/wiki_repo_saver.rb
index 33c91fd7ba5..1eedae39f8a 100644
--- a/lib/gitlab/import_export/wiki_repo_saver.rb
+++ b/lib/gitlab/import_export/wiki_repo_saver.rb
@@ -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