diff --git a/commands/util-public/cloc.js b/commands/util-public/cloc.js index 5df222ee..adab73dc 100644 --- a/commands/util-public/cloc.js +++ b/commands/util-public/cloc.js @@ -37,7 +37,7 @@ module.exports = class ClocCommand extends Command { if (this.cache) return this.cache; const { stdout, stderr } = await exec( path.join(__dirname, '..', '..', 'node_modules', '.bin', 'cloc'), - ['--json', '--exclude-dir=node_modules', path.join(__dirname, '..', '..')] + ['--json', '--exclude-dir=node_modules', '--unicode', path.join(__dirname, '..', '..')] ); if (stderr) throw new Error(stderr.trim()); this.cache = JSON.parse(stdout.trim());