node/lib/internal/modules
Gang Chen a90defebcf
esm: make process.exit() default to exit code 0
Due to a bug in top-level await implementation, it used to default to
exit code 13.

PR-URL: https://github.com/nodejs/node/pull/41388
Backport-PR-URL: https://github.com/nodejs/node/pull/41508
Fixes: https://github.com/nodejs/node/issues/40808
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2022-01-25 08:01:02 -05:00
..
cjs src: add option to disable loading native addons 2022-01-25 07:54:07 -05:00
esm esm: make process.exit() default to exit code 0 2022-01-25 08:01:02 -05:00
package_json_reader.js
run_main.js esm: make process.exit() default to exit code 0 2022-01-25 08:01:02 -05:00