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
[output]
...
--unhandled-rejections=...
define unhandled rejections behavior. Options are 'strict' (raise an error), 'warn' (enforce warnings) or 'none' (silence warnings)
...
[expected]
strict: Raise the unhandled rejection as an uncaught exception.
warn: Always trigger a warning, no matter if the unhandledRejection hook is set or not but do not print the deprecation warning.
none: Silence all warnings.
I think the short brief is better for user reading, so have some differences with its doc. What's more, the original PR seems like intentionally for this.
[command]
[output]
...
--unhandled-rejections=...
define unhandled rejections behavior. Options are 'strict' (raise an error), 'warn' (enforce warnings) or 'none' (silence warnings)
...
[expected]
strict: Raise the unhandled rejection as an uncaught exception.
warn: Always trigger a warning, no matter if the unhandledRejection hook is set or not but do not print the deprecation warning.
none: Silence all warnings.
[reference]
https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode
[setup]
....
node v12.16.1
macOS v10.15.3 (catalina)
The text was updated successfully, but these errors were encountered: