(relativePath, content)
| 30 | } |
| 31 | |
| 32 | function writeText(relativePath, content) { |
| 33 | fs.mkdirSync(path.dirname(path.join(root, relativePath)), { recursive: true }); |
| 34 | fs.writeFileSync(path.join(root, relativePath), content, 'utf8'); |
| 35 | } |
| 36 | |
| 37 | function runI18nAudit(args = []) { |
| 38 | return spawnSync(process.execPath, ['scripts/i18n-audit.mjs', ...args], { |
no test coverage detected