jeemok / better-npm-audit

The goal of this project is to provide additional features on top of the existing npm audit options
https://www.npmjs.com/package/better-npm-audit
MIT License
118 stars 26 forks source link

Process keeps hanging on Windows 10 #62

Closed Pouja closed 3 years ago

Pouja commented 3 years ago

The process keeps hanging in a happy flow (when there are no issues reported). I think this is because the buffer doesn't close properly on Windows due to not properly listing to the kill signal of the child process.

This can be fixed by adding process.exit(0) after https://github.com/jeemok/better-npm-audit/blob/master/src/handlers/handleFinish.ts#L49

jeemok commented 3 years ago

Thanks for reporting @Pouja ! I've released a new version and it should be fixed now