Skip to content

Commit

Permalink
fix: insert calm and professional review
Browse files Browse the repository at this point in the history
protip: functions should not be named the same as common vars
  • Loading branch information
drazisil-codecov committed Jul 22, 2021
1 parent 3fa6add commit 4270c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/codecov
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ app
const end = Date.now()
app.verbose(`End of uploader: ${end - start} milliseconds`, argv.verbose)
})
.catch(error => {
app.error(`Error!: ${error}`)
.catch(err => {
app.error(`Error!: ${err}`)
const end = Date.now()
app.verbose(`End of uploader: ${end - start} milliseconds`, argv.verbose)
process.exit(argv.nonZero ? -1 : 0)
Expand Down

0 comments on commit 4270c8b

Please sign in to comment.