in scripts/extractStrings.js [169:180]
function writeJSONToFile(content, fullPath, exitOnFail) {
const directory = getDirectoryFromPath(fullPath);
try {
if (!fs.existsSync(directory)) {
fs.mkdirSync(directory, { recursive: true });
}
fs.writeFileSync(fullPath, content);
logMessage("Wrote RESJSON file: " + fullPath)
} catch (e) {
logError("Cannot write to file: " + fullPath + "Error : " + e, exitOnFail);
}
}