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:
parent
22ef4ba3a4
commit
f76d8c902a
|
@ -107,7 +107,7 @@ module Github
|
||||||
# this means that repo has wiki enabled, but have no pages. So,
|
# this means that repo has wiki enabled, but have no pages. So,
|
||||||
# we can skip the import.
|
# we can skip the import.
|
||||||
if e.message !~ /repository not exported/
|
if e.message !~ /repository not exported/
|
||||||
errors(:wiki, wiki_url, e.message)
|
error(:wiki, wiki_url, e.message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue