Closed Pouja closed 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
process.exit(0)
Thanks for reporting @Pouja ! I've released a new version and it should be fixed now
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