dont exist with an error since it errored npx usage as well, which is the mode that ensure proper logging on latest npm version

This commit is contained in:
Nacho Codoñer
2024-03-18 18:11:31 +01:00
parent b9ea24dff3
commit 86080a11cd

View File

@@ -57,7 +57,7 @@ if (!isInstalledGlobally) {
console.error('Make sure you pass -g to npm install.');
console.error('Aborting...');
console.error('******************************************');
process.exit(1);
process.exit(0);
}
process.on('unhandledRejection', err => {
throw err;