From 1b8a1073253c03cf6f434530afcdb727fb7268ca Mon Sep 17 00:00:00 2001 From: James Lopez Date: Thu, 16 Jun 2016 10:59:36 +0200 Subject: [PATCH] fix wiki stuff --- lib/gitlab/import_export/repo_restorer.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/gitlab/import_export/repo_restorer.rb b/lib/gitlab/import_export/repo_restorer.rb index 3c2b801b571..546dae4d122 100644 --- a/lib/gitlab/import_export/repo_restorer.rb +++ b/lib/gitlab/import_export/repo_restorer.rb @@ -11,8 +11,7 @@ module Gitlab end def restore - return true if wiki? - return false unless File.exist?(@path_to_bundle) + return wiki? unless File.exist?(@path_to_bundle) FileUtils.mkdir_p(path_to_repo)