lib/puppetfile-resolver/spec_searchers/git/github.rb in puppetfile-resolver-0.6.0 vs lib/puppetfile-resolver/spec_searchers/git/github.rb in puppetfile-resolver-0.6.1
- old
+ new
@@ -41,10 +41,10 @@
raise err_msg + e.message
end
if response.code != '200'
resolver_ui.debug(err_msg + "Expected HTTP Code 200, but received #{response.code}")
- return ''
+ return nil
end
response.body
end
end
end