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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/codecov.js
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.