knifecycle
knifecycle copied to clipboard
In some very particular situations, the `run()` method ends up with a 13 exit code
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