You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to quit node process with error code on unhandled rejected promises.
Which might not be the best way to do it.
First of all, we have many scripts where we need this and code duplication is not a good thing, at least we should make it includable.
Also, we might want to use --unhandled-rejections=strict option for node instead. But first we have to verify that ts-node supports it, and then add it to package.jsonscripts, probably.
The text was updated successfully, but these errors were encountered:
Currently we have
in order to quit node process with error code on unhandled rejected promises.
Which might not be the best way to do it.
First of all, we have many scripts where we need this and code duplication is not a good thing, at least we should make it includable.
Also, we might want to use
--unhandled-rejections=strict
option for node instead. But first we have to verify thatts-node
supports it, and then add it topackage.json
scripts
, probably.The text was updated successfully, but these errors were encountered: