From 3652c6629d669768ff6cf7cf563faca00503e1a2 Mon Sep 17 00:00:00 2001 From: inlang-bot Date: Tue, 23 Apr 2024 14:57:06 +0000 Subject: [PATCH] [v 0.2.22]: new release of i18n-action --- dist/index.cjs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index ff90890..421fb3c 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -60804,6 +60804,12 @@ function stringifyMessage(message) { return variantA.match.join("-").localeCompare(variantB.match.join("-")); } return languageComparison; + }).map((variant) => { + const variantWithSortedKeys = {}; + for (const key of Object.keys(variant).sort()) { + variantWithSortedKeys[key] = variant[key]; + } + return variantWithSortedKeys; }); return JSON.stringify(messageWithSortedKeys, void 0, 4); } @@ -62764,9 +62770,9 @@ ${error?.cause.stack}`; continue; } if (result.errorsBase.length > 0 && result.errorsHead.length === 0) { - console.debug(`#### \u2705 Setup of project \`${result.projectPath}\` fixed`); + console.debug(`\u2705 Setup of project \`${result.projectPath}\` fixed`); } - if (result.errorsBase.length > 0 || result.errorsHead.length > 0) + if (result.errorsHead.length > 0) continue; if (result.lintSummary.length === 0) continue;