Files
node/doc/api
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-07-16 00:26:26 +02:00
2020-08-03 14:27:28 -04:00
2020-06-26 10:25:14 -07:00
2020-06-26 10:25:14 -07:00
2020-08-03 14:27:28 -04:00
2020-07-25 09:59:41 +02:00
2020-06-26 10:25:14 -07:00
2020-07-21 17:45:12 -04:00
2020-06-26 10:25:14 -07:00
2020-08-07 08:37:27 -07:00
2020-06-26 10:25:14 -07:00
2020-06-26 10:25:14 -07:00
2020-06-30 15:27:43 -07:00
2020-06-26 10:25:14 -07:00
2020-06-26 10:25:14 -07:00
2020-06-26 10:25:14 -07:00
2020-07-03 15:01:10 -07:00
2020-06-26 10:25:14 -07:00
2020-07-21 17:45:12 -04:00
2020-07-21 17:45:12 -04:00
2020-06-30 15:27:43 -07:00