Commit 1b8a1073 authored by James Lopez's avatar James Lopez

fix wiki stuff

parent 5087e10f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment