Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const exit = function (ex) {
buntstift.line();
if (!ex) {
buntstift.exit(0);
return;
}
if (ex.message) {
buntstift.verbose(ex.message);
}
if (ex.stack) {
buntstift.verbose(ex.stack);
}
buntstift.exit(1);
};
const exit = function (ex) {
buntstift.line();
if (!ex) {
buntstift.exit(0);
return;
}
if (ex.message) {
buntstift.verbose(ex.message);
}
if (ex.stack) {
buntstift.verbose(ex.stack);
}
buntstift.exit(1);
};