Skip to content

Commit 80900b8

Browse files
committed
fix: explicitly set zero exit code
1 parent 0a6e132 commit 80900b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bin/cmd.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ import { execCmd } from './../lib/exec.js'
2727
return `Sucessfully transferred ${entities.length} entities from ${source} to ${target}.`
2828
})()
2929
.then((result) => {
30-
if (result) {
31-
console.log(result)
32-
}
30+
console.log(result)
31+
process.exitCode = 0
3332
})
3433
.catch((err) => {
3534
console.error(err)

0 commit comments

Comments
 (0)