Fix error when importing a GitHub-wiki repository

This would occur when Wiki's are enabled on GitHub, but there is no
wiki repository
This commit is contained in:
Bob Van Landuyt 2017-08-22 14:03:40 +02:00
parent 22ef4ba3a4
commit f76d8c902a
1 changed files with 1 additions and 1 deletions

View File

@ -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