Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterHuang committed Sep 26, 2023
1 parent 69b39f4 commit 5e06c73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Validator/TranslationKeywordValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export class TranslationKeywordValidator implements IValidator {
if (!match) {
throw new Error(`${lang}/translation-keywords.json ${eng} does not contain a 'match' field`)
}
if (!desc) {
throw new Error(`${lang}/translation-keywords.json ${eng} does not contain a 'desc' field`)
}
// if (!desc) {
// throw new Error(`${lang}/translation-keywords.json ${eng} does not contain a 'desc' field`)
// }
}

console.log(`${lang}/translation-keywords.json is valid`);
Expand Down

0 comments on commit 5e06c73

Please sign in to comment.