Fix import of GitHub's wiki when the repository has not been created

parent 268fb004
...@@ -82,8 +82,12 @@ module Gitlab ...@@ -82,8 +82,12 @@ module Gitlab
end end
true true
rescue Gitlab::Shell::Error rescue Gitlab::Shell::Error => e
false if e.message =~ /repository not exported/
true
else
false
end
end end
end end
end end
......
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