lib/puppetfile-resolver/spec_searchers/git/gitlab.rb in puppetfile-resolver-0.6.0 vs lib/puppetfile-resolver/spec_searchers/git/gitlab.rb in puppetfile-resolver-0.6.1
- old
+ new
@@ -43,10 +43,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