knifecycle icon indicating copy to clipboard operation
knifecycle copied to clipboard

In some very particular situations, the `run()` method ends up with a 13 exit code

Open nfroidure opened this issue 2 years ago • 0 comments

See NodeJS exit codes documentation: 13 Unfinished Top-Level Await: await was used outside of a function in the top-level code, but the passed Promise never resolved. https://nodejs.org/api/process.html#exit-codes

I suspect an autoloader dependency that depends on an autoloaded dependency but is not detected by this code: https://github.com/nfroidure/knifecycle/blob/main/src/index.ts#L977-L984

nfroidure avatar Nov 09 '23 09:11 nfroidure