Skip to content

Commit

Permalink
rf(validate-locale-files): don't show version tag for en.json entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus7474 authored Dec 27, 2024
1 parent 6b3d5e5 commit e59d784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/validate-locale-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ function updateReadMeFile(localesStatuses) {
process.exit(1);
}

const regex = /- (|) \*\*(.*?)\*\* \(Base Locale - v[\d.]+\)/;
const regex = /- (|) \*\*(.*?)\*\* \(Base Locale\)/;
const enEntry = fileContent.match(regex);

let updatedLocales = [enEntry ? enEntry[0] : '- ✅ **en.json** (Base Locale - v?.?.?)'];
let updatedLocales = [enEntry ? enEntry[0] : '- ✅ **en.json** (Base Locale)'];

localesStatuses.forEach((isUpToDate, fileName) => {
const icon = isUpToDate ? '✅' : '❌';
Expand Down

0 comments on commit e59d784

Please sign in to comment.