From 761ca5af9247285040a4e4a6852cf4072dd9bb92 Mon Sep 17 00:00:00 2001 From: Albert Mink Date: Thu, 7 Dec 2023 12:55:41 +0100 Subject: [PATCH] to much errors shown --- generate/aff.mjs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/generate/aff.mjs b/generate/aff.mjs index 23661cc2a..d27de5932 100644 --- a/generate/aff.mjs +++ b/generate/aff.mjs @@ -35,10 +35,9 @@ async function run() { const command = `diff --strip-trailing-cr generated/${type.toLowerCase()}-v1.json ../file-formats/${type.toLowerCase()}/${type.toLowerCase()}-v1.json`; const output = child_process.execSync(`${command} || true`); if (output.toString().length > 0) { - core.error("Provided and generated JSOn Schema differ") + core.error("Provided and generated JSON Schema differ") core.info(command); core.info(output.toString()); - error = true; } else { core.notice("Provided and generated JSON Schema match") } @@ -49,10 +48,6 @@ async function run() { } - if (error === true) { - core.setFailed(`Generated JSON differs to what is in git.`); - } - } run();