Skip to content

Commit

Permalink
[v 0.2.22]: new release of i18n-action
Browse files Browse the repository at this point in the history
  • Loading branch information
inlang-bot committed Apr 23, 2024
1 parent ebefe00 commit 3652c66
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 3652c66

Please sign in to comment.