lib/bard/ci/github_actions.rb in bard-0.59.0 vs lib/bard/ci/github_actions.rb in bard-0.59.1

- old
+ new

@@ -213,13 +213,10 @@ http.request(req) end case response when Net::HTTPRedirection then - url = response["Location"] - request(url) do |uri| - Net::HTTP::Get.new(uri) - end + get(response["Location"]) when Net::HTTPSuccess then if response["Content-Type"].to_s.include?("/json") JSON.load(response.body) else response.body