forked from MapComplete/MapComplete
Attempt to fix the build
This commit is contained in:
parent
4096c5a913
commit
ce7b3d47d9
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
import * as fs from "fs";
|
||||
import {readFileSync, writeFileSync} from "fs";
|
||||
import {existsSync, mkdirSync, readFileSync, writeFileSync} from "fs";
|
||||
import {Utils} from "../Utils";
|
||||
import ScriptUtils from "./ScriptUtils";
|
||||
|
||||
|
@ -591,7 +591,9 @@ function mergeThemeTranslations() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
if(!existsSync("./langs/themes")){
|
||||
mkdirSync("./langs/themes")
|
||||
}
|
||||
const themeOverwritesWeblate = process.argv[2] === "--ignore-weblate"
|
||||
const questionsPath = "assets/tagRenderings/questions.json"
|
||||
const questionsParsed = JSON.parse(readFileSync(questionsPath, 'utf8'))
|
||||
|
|
Loading…
Reference in a new issue