Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
s3target nil
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Aug 17, 2021
1 parent d555a88 commit 5d8a2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codecov/uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def self.upload_to_v4(url, report, query, query_without_token)
reports_url = response.body.lines[0]
s3target = response.body.lines[1]

if s3target.empty?
if s3target.nil? || s3target.empty?
puts red(response.body)
return false
end
Expand Down

0 comments on commit 5d8a2d4

Please sign in to comment.