chore(i18n): clean code

This commit is contained in:
lawvs
2022-09-09 15:27:03 +08:00
parent ff1cb4da84
commit d6e408a4be
5 changed files with 13 additions and 9 deletions
+1 -2
View File
@@ -79,8 +79,7 @@ const differenceObject = (
};
function warnDiff(diff: { add: string[]; remove: string[]; modify: string[] }) {
if (!diff.add.length) {
} else {
if (diff.add.length) {
console.log('New keys found:', diff.add.join(', '));
//See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-notice-message
process.env['CI'] &&