That was a terrible idea

This commit is contained in:
Dragon Fire
2021-04-23 21:19:30 -04:00
parent 0e0bcf01cd
commit 634e4daf90
+1 -1
View File
@@ -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', '--unicode', path.join(__dirname, '..', '..')]
['--json', '--exclude-dir=node_modules', path.join(__dirname, '..', '..')]
);
if (stderr) throw new Error(stderr.trim());
this.cache = JSON.parse(stdout.trim());