fix wiki stuff

This commit is contained in:
James Lopez 2016-06-16 10:59:36 +02:00
parent 5087e10fe9
commit 1b8a107325
1 changed files with 1 additions and 2 deletions

View File

@ -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)