Commit f76d8c90 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Fix error when importing a GitHub-wiki repository

This would occur when Wiki's are enabled on GitHub, but there is no
wiki repository
parent 22ef4ba3
......@@ -107,7 +107,7 @@ module Github
# this means that repo has wiki enabled, but have no pages. So,
# we can skip the import.
if e.message !~ /repository not exported/
errors(:wiki, wiki_url, e.message)
error(:wiki, wiki_url, e.message)
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