Commit ef3bccac authored by Douwe Maan's avatar Douwe Maan Committed by Robert Speicher

Merge branch 'fix-github-wiki-import' into 'master'

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

Fixes #12503 

See merge request !2533
parent 56adae86
...@@ -82,9 +82,13 @@ module Gitlab ...@@ -82,9 +82,13 @@ module Gitlab
end end
true true
rescue Gitlab::Shell::Error rescue Gitlab::Shell::Error => e
if e.message =~ /repository not exported/
true
else
false false
end end
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