Commit 37cdde19 authored by Rémy Coutable's avatar Rémy Coutable

Ensure Github::Import#execute returns false if any errors occured

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent be35346b
......@@ -42,7 +42,7 @@ module Github
puts 'Expiring repository cache...'.color(:aqua) if verbose
expire_repository_cache
true
errors.empty?
rescue Github::RepositoryFetchError
expire_repository_cache
false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment