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 * as fs from "fs";
|
||||||
import {readFileSync, writeFileSync} from "fs";
|
import {existsSync, mkdirSync, readFileSync, writeFileSync} from "fs";
|
||||||
import {Utils} from "../Utils";
|
import {Utils} from "../Utils";
|
||||||
import ScriptUtils from "./ScriptUtils";
|
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 themeOverwritesWeblate = process.argv[2] === "--ignore-weblate"
|
||||||
const questionsPath = "assets/tagRenderings/questions.json"
|
const questionsPath = "assets/tagRenderings/questions.json"
|
||||||
const questionsParsed = JSON.parse(readFileSync(questionsPath, 'utf8'))
|
const questionsParsed = JSON.parse(readFileSync(questionsPath, 'utf8'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue