From 38102823f3b8bc05566abc514b17b33401770d02 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Mon, 28 Jul 2025 04:37:21 +0300 Subject: [PATCH] Update validate.ts --- scripts/commands/channels/validate.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) + } } }