Skip to content

Commit ea6a04c

Browse files
committed
exit is now error code 1
1 parent 7c2d8b5 commit ea6a04c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/encapsulation/cp.utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export abstract class CPUtilities {
3535
}
3636
// eslint-disable-next-line no-console
3737
console.error(ChalkUtilities.error(`Command failed: ${command}`));
38-
process.exit(0);
38+
process.exit(1);
3939
}
4040
}
4141
}

src/utilities/exit-with-error.function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ export function exitWithError(message: string): never {
1111
console.error(ChalkUtilities.error(message));
1212
// eslint-disable-next-line no-console
1313
console.log(MORE_INFORMATION_MESSAGE);
14-
return process.exit(0);
14+
return process.exit(1);
1515
}

0 commit comments

Comments
 (0)