diff options
author | James Lopez <james@jameslopez.es> | 2016-06-13 13:44:00 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-13 13:44:00 +0200 |
commit | 6f0c503397e184d2a68eec8d4285288abc29ce9a (patch) | |
tree | a9542e11b94722c10cca41666b84714e8747e33e | |
parent | b07dc938b9e8c9fa67b808a1bcf078bd30dc0db4 (diff) | |
parent | 86e475101138d2db04d09606123b4f666b03bd39 (diff) | |
download | gitlab-ce-6f0c503397e184d2a68eec8d4285288abc29ce9a.tar.gz |
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
-rw-r--r-- | lib/gitlab/import_export/wiki_repo_saver.rb | 2 |
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 |