Comparing version 6.0.5 to 6.0.6
@@ -10,5 +10,5 @@ 'use strict'; | ||
function exit () { | ||
function exit (code) { | ||
if (buddy) buddy.destroy(); | ||
process.exit(); | ||
process.exit(code); | ||
} | ||
@@ -20,3 +20,3 @@ | ||
console.log('\x07'); | ||
exit(); | ||
exit(1); | ||
} | ||
@@ -26,2 +26,3 @@ | ||
process.once('uncaughtException', error); | ||
process.once('unhandledRejection', error); | ||
signalExit(exit); | ||
@@ -28,0 +29,0 @@ |
{ | ||
"name": "buddy-cli", | ||
"version": "6.0.5", | ||
"version": "6.0.6", | ||
"description": "The command-line bootstrapper for Buddy", | ||
@@ -5,0 +5,0 @@ "author": "popeindustries <alex@pope-industries.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8078
144