diff --git a/scripts/commands/channels/validate.ts b/scripts/commands/channels/validate.ts index 0fbea3b1..8bd023b7 100644 --- a/scripts/commands/channels/validate.ts +++ b/scripts/commands/channels/validate.ts @@ -91,7 +91,9 @@ async function main() { `${totalProblems} problems (${totalErrors} errors, ${totalWarnings} warnings) in ${totalFiles} file(s)` ) ) - process.exit(1) + if (totalErrors > 0) { + process.exit(1) + } } }