Updated script requires.

This commit is contained in:
Mike Cao
2025-04-29 14:16:20 -07:00
parent ec7d5bdfe2
commit 615a6d444f
6 changed files with 9 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ with the existing files under `lang`. Any newly added
keys will be printed to the console.
*/
files.forEach(file => {
const lang = require(`../src/lang/${file}`);
const lang = require(path.resolve(process.cwd(), `src/lang/${file}`));
console.log(`Merging ${file}`);