From 9815156f17e7a4525f62c45256e9efdbd9174f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kris=20Kr=C3=BCg?= Date: Sat, 18 Jul 2026 19:21:02 -0700 Subject: [PATCH] fix: flush doctor summary before exit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d1be6d9..9ba28cc 100755 --- a/index.js +++ b/index.js @@ -386,7 +386,7 @@ async function runDoctor(c) { console.log(c.green(`Doctor found 0 critical issue(s) and ${warnings.length} warning(s).`)); } - process.exit(criticalIssues.length > 0 ? 1 : 0); + process.exitCode = criticalIssues.length > 0 ? 1 : 0; } if (process.argv.includes('--doctor')) {