0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-14 23:51:49 -05:00

fix: use process.exit(1) on error

This commit is contained in:
bholmesdev 2022-07-07 17:53:20 -04:00
parent b0e73e7b58
commit 1b4235d99f

View file

@ -620,7 +620,7 @@ export async function validateIntegrations(integrations: string[]): Promise<Inte
} catch (e) {
if (e instanceof Error) {
spinner.fail(e.message);
process.exit(0);
process.exit(1);
} else {
throw e;
}