jeemok/better-npm-audit

Process keeps hanging on Windows 10

Pouja opened this issue · 1 comments

Pouja commented

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

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