diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ae09d15..6097b665 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how * Support DSL `package-descriptor` (#124) * Resolve the potential symlink to the bash script (#24, #125, and #126) * Workaround for arguments that contain whitespaces (#128 and #129) +* Silent unnecessary Node's stacktrace (#134 and #136) ## 0.7.x > Released Sep 08, 2022 diff --git a/src/util.js b/src/util.js index 6777ddc2..c1b1f506 100644 --- a/src/util.js +++ b/src/util.js @@ -162,7 +162,7 @@ async function e_call(argv, script, ...args) { resolve(code); return; } - throw 'Exit with code: ' + code; + process.exit(code); }); }); }