Skip to content

Commit 5cfb54d

Browse files
committed
remove extra exit codes
1 parent f7f5808 commit 5cfb54d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/commander/capture.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ command
4646
ctx.log.warn(`Additional property "${error.params.additionalProperty}" is not allowed.`)
4747
} else {
4848
const validationError = error.message;
49-
process.exit(1);
5049
throw new Error(validationError || 'Invalid Web Static config found in file : ' + file);
5150
}
5251
});
53-
process.exit(1);
5452
throw new Error(validateWebStaticConfig.errors[0]?.message);
5553
}
5654

0 commit comments

Comments
 (0)