diff options
author | James Lopez <james@jameslopez.es> | 2016-06-16 10:59:36 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-16 10:59:36 +0200 |
commit | 1b8a1073253c03cf6f434530afcdb727fb7268ca (patch) | |
tree | f74d8c0bb5def93a1411079b49b3040f93a13189 /lib | |
parent | 5087e10fe9481093b65f8d2b37ba962911109a5f (diff) | |
download | gitlab-ce-1b8a1073253c03cf6f434530afcdb727fb7268ca.tar.gz |
fix wiki stuff
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/import_export/repo_restorer.rb | 3 |
1 files changed, 1 insertions, 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) |