We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b75af commit 4c6c32cCopy full SHA for 4c6c32c
scripts/devkit-admin.mts
@@ -37,7 +37,7 @@ console.error = function (...args) {
37
try {
38
const script = await import(`./${scriptName}.mjs`);
39
const exitCode = await script.default(args, cwd);
40
- process.exitCode = exitCode || 0;
+ process.exitCode = typeof exitCode === 'number' ? exitCode : 0;
41
// eslint-disable-next-line @typescript-eslint/no-explicit-any
42
} catch (err: any) {
43
console.error(err.stack);
0 commit comments