Skip to content

Commit

Permalink
clean up error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-ball committed Aug 28, 2019
1 parent 048cd77 commit 54bec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function run () {
function runNewman (options) {
newman.run(options).on('done', (err, summary) => {
if (err || summary.run.failures.length) {
core.setFailed('Newman run failed!' + (err || summary.run.failures))
core.setFailed('Newman run failed!' + (err || '')
}
})
}

0 comments on commit 54bec13

Please sign in to comment.