fix(i18n): keep translation tooling portable

This commit is contained in:
mzspicoli committed 2026-08-24 18:01:54 +02:00
1 parent ad69235f6e
commit cf7b3496a5
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ const root = join(dirname(fileURLToPath(import.meta.url)), '..')
const sourcePath = join(root, 'scripts', 'instruction-sources', 'pt-BR.json')
const glossaryPath = join(root, 'scripts', 'instruction-sources', 'GLOSSARY.md')
const exercisesPath = join(root, 'frontend', 'src', 'lib', 'exercises-data.js')
const claude = '/Users/matheus/.local/bin/claude'
const claude = process.env.CLAUDE_BIN || 'claude'
const option = name => process.argv.find(arg => arg.startsWith(`--${name}=`))?.split('=').slice(1).join('=')
const bodyPart = option('body-part')