From 0e0bcf01cd8a91314a9ea58e4425c7379792bc83 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 23 Apr 2021 21:17:57 -0400 Subject: [PATCH] Add unicode to cloc --- commands/util-public/cloc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());