summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-08-22 14:03:40 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-08-23 13:36:38 +0200
commitf76d8c902a08040eeaacc8c7a3a9506fb55501e7 (patch)
tree34b8c790573009c3c178a0b8ea4921aadf95f086
parent22ef4ba3a4be66296e5ee9231b4eb39e172c0f1f (diff)
downloadgitlab-ce-bvl-improve-bare-project-import.tar.gz
Fix error when importing a GitHub-wiki repositorybvl-improve-bare-project-import
This would occur when Wiki's are enabled on GitHub, but there is no wiki repository
-rw-r--r--lib/github/import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/import.rb b/lib/github/import.rb
index 4cc01593ef4..7b848081e85 100644
--- a/lib/github/import.rb
+++ b/lib/github/import.rb
@@ -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