forked from MapComplete/MapComplete
Refactoring: split 'Utils' into multiple files; fix some stray uppercase-method names
This commit is contained in:
parent
81be4db044
commit
3ec89826e4
97 changed files with 884 additions and 921 deletions
|
@ -9,6 +9,7 @@ import { existsSync, readFileSync, writeFileSync } from "fs"
|
|||
import WikidataUtils from "../src/Utils/WikidataUtils"
|
||||
import LanguageUtils from "../src/Utils/LanguageUtils"
|
||||
import Wikidata from "../src/Logic/Web/Wikidata"
|
||||
import { Lists } from "../src/Utils/Lists"
|
||||
|
||||
interface value<T> {
|
||||
value: T
|
||||
|
@ -196,7 +197,7 @@ async function main(wipeCache = false) {
|
|||
})
|
||||
|
||||
translatedForId["_meta"] = {
|
||||
countries: Utils.Dedup(languagesPerCountry[key]),
|
||||
countries: Lists.dedup(languagesPerCountry[key]),
|
||||
dir: value.directionality,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue