Skip to content

Commit 71321e8

Browse files
committed
fix(checks): change exit codes for checks
1 parent 0fd1f66 commit 71321e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/checks/check-credentials.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export function checkConfigForCredentials(
2929
console.error(msg);
3030

3131
if (shouldExit) {
32-
process.exit(22 /* EINVAL */);
32+
process.exit(1);
3333
}
3434
}

src/checks/project-structure.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default async function checkProjectStructure(
6262

6363
if (shouldExit) {
6464
console.error(errorMessage(title, messageBody));
65-
process.exit(20 /* ENOTDIR */);
65+
process.exit(1);
6666
} else {
6767
console.warn(warningMessage(title, messageBody));
6868
}

0 commit comments

Comments
 (0)