[go: up one dir, main page]

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

fix: Test if response has two lines #329

Merged
merged 1 commit into from
Jul 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/codecov.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ var sendToCodecovV4 = function (
on_success,
on_failure
)
} else if (result.split('\n').length !== 2) {
console.log(' Could not upload to Codecov: ' + result)
} else {
var codecov_report_url = result.split('\n')[0]
request(
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.