Skip to content

Commit

Permalink
fix: explicitly set zero exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Aug 1, 2024
1 parent 0a6e132 commit 80900b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ import { execCmd } from './../lib/exec.js'
return `Sucessfully transferred ${entities.length} entities from ${source} to ${target}.`
})()
.then((result) => {
if (result) {
console.log(result)
}
console.log(result)
process.exitCode = 0
})
.catch((err) => {
console.error(err)
Expand Down

0 comments on commit 80900b8

Please sign in to comment.