Attempt to fix the build

This commit is contained in:
pietervdvn 2022-07-18 16:03:56 +02:00
parent 4096c5a913
commit ce7b3d47d9

View file

@ -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'))