From a7d9f161079292dfb757fa412767754f26f9f4c4 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 5 Jan 2023 16:23:45 -0800 Subject: Report unhandled promise rejection on exit and make exit code 1 instead of 0 (#1734) Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> --- test/bun.js/exit-code-0.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/bun.js/exit-code-0.js (limited to 'test/bun.js/exit-code-0.js') diff --git a/test/bun.js/exit-code-0.js b/test/bun.js/exit-code-0.js new file mode 100644 index 000000000..dcbbff6c9 --- /dev/null +++ b/test/bun.js/exit-code-0.js @@ -0,0 +1 @@ +process.exit(0); -- cgit v1.2.3