only fail the build on CI

This commit is contained in:
Jacob Overgaard
2024-04-04 09:37:54 +02:00
parent 4606db37e7
commit e2d9920849

View File

@@ -53,7 +53,7 @@ if (hasError) {
console.error('\n-----------------------------------');
console.error(ERROR_COLOR, 'Path length check failed');
console.error('-----------------------------------\n');
if (processExitCode) {
if (IS_CI && processExitCode) {
process.exit(processExitCode);
}
} else {