From 391df54429711eaa1ed6a9703a3ad4ebb0485042 Mon Sep 17 00:00:00 2001 From: Vladislav Volosnikov Date: Tue, 29 Aug 2023 21:34:03 +0300 Subject: [PATCH] Run prettier --- scripts/checks/custom-errors-duplication.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/checks/custom-errors-duplication.js b/scripts/checks/custom-errors-duplication.js index 0dfffb2b1..d8bfa83af 100644 --- a/scripts/checks/custom-errors-duplication.js +++ b/scripts/checks/custom-errors-duplication.js @@ -18,16 +18,15 @@ function main() { console.log(output, '\n'); } } - + if (reports.length > 0) process.exitCode = 1; if (!process.exitCode) { console.log('No duplicate custom errors found.'); - } + } } function processArtifacts(artifacts) { - const filesContainingCustomError = {}; for (const artifact of artifacts) {