Revert "Update scripts"

This reverts commit 14cdd44e86.
This commit is contained in:
freearhey
2023-11-01 22:22:47 +03:00
parent 215f6e9322
commit a2e0e42875
2 changed files with 16 additions and 15 deletions

View File

@@ -23,12 +23,10 @@ export class CountryTable implements Table {
let data = new Collection()
parser
.parse(generatorsLog)
.filter((logItem: LogItem) => {
const isCountry = logItem.filepath.includes('countries/')
const isSubdivision = logItem.filepath.includes('subdivisions/')
if (isCountry || isSubdivision) return true
})
.filter(
(logItem: LogItem) =>
logItem.filepath.includes('countries/') || logItem.filepath.includes('subdivisions/')
)
.forEach((logItem: LogItem) => {
const file = new File(logItem.filepath)
const code = file.name().toUpperCase()