Skip to content

Commit

Permalink
fix generate for langs
Browse files Browse the repository at this point in the history
  • Loading branch information
myrho committed Dec 7, 2023
1 parent 53de8aa commit 42168c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const appendLang = (plugin) => {
fs.readdirSync(pluginLangFolder)
.map(fileName => {
let coreLangFilename = path.join(langFolder, fileName)
let genLangFilename = path.join(genFolder, langFolder, fileName)
let genLangFilename = path.join(genLangFolder, fileName)
let pluginLangFilename = path.join(pluginLangFolder, fileName)
if(!fs.existsSync(coreLangFilename)) {
console.err(`Ignoring ${pluginLangFilename}.`)
Expand Down

0 comments on commit 42168c5

Please sign in to comment.