提交 f76d8c90 编写于 作者: B 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
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册