Files
node/lib
Anna Henningsen e948ef351b module: handle Top-Level Await non-fulfills better
Handle situations in which the main `Promise` from a TLA module
is not fulfilled better:

- When not resolving the `Promise` at all, set a non-zero exit code
  (unless another one has been requested explicitly) to distinguish
  the result from a successful completion.
- When rejecting the `Promise`, always treat it like an uncaught
  exception. In particular, this also ensures a non-zero exit code.

Refs: https://github.com/nodejs/node/pull/34558

PR-URL: https://github.com/nodejs/node/pull/34640
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
2020-08-08 20:33:46 +02:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-06-22 14:29:49 -07:00
2020-06-07 12:14:49 +02:00
2020-06-02 15:38:59 +02:00
2020-06-19 07:40:11 -07:00
2020-05-16 06:42:16 +02:00
2020-06-19 17:37:26 +02:00
2020-06-23 17:08:09 -07:00
2020-06-24 16:37:42 -07:00
2020-06-30 22:36:50 +02:00
2020-03-09 12:44:16 +01:00
2020-04-28 19:10:26 +02:00
2020-07-17 12:58:38 +02:00
2019-12-11 16:38:06 -06:00
2020-05-16 06:42:16 +02:00
2020-06-29 09:52:09 -05:00