Closed itaiperi closed 5 years ago
Previously, done function at https://github.com/spencermountain/dumpster-dive/blob/f9b8c433ac645f5afb2becd6bb1f1244c6a50d01/src/index.js#L44 wasn't awaited on, and so async functions that took more than 1 second would get killed because of the process.exit() in the finish function.
done
process.exit()
finish
ah! good find!
Previously,
done
function at https://github.com/spencermountain/dumpster-dive/blob/f9b8c433ac645f5afb2becd6bb1f1244c6a50d01/src/index.js#L44 wasn't awaited on, and so async functions that took more than 1 second would get killed because of theprocess.exit()
in thefinish
function.