diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-08-22 15:03:40 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-08-23 14:36:38 +0300 |
commit | f76d8c902a08040eeaacc8c7a3a9506fb55501e7 (patch) | |
tree | 34b8c790573009c3c178a0b8ea4921aadf95f086 /lib | |
parent | 22ef4ba3a4be66296e5ee9231b4eb39e172c0f1f (diff) |
Fix error when importing a GitHub-wiki repository
This would occur when Wiki's are enabled on GitHub, but there is no
wiki repository
Diffstat (limited to 'lib')
-rw-r--r-- | lib/github/import.rb | 2 |
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 |