mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Text File
|
||||
TXT
|
||||
filter remove_matches .*
|
||||
extension txt
|
||||
3rd_gen_scale 1.00
|
||||
|
||||
@@ -26,7 +26,7 @@ module.exports = class ClocCommand extends Command {
|
||||
.setFooter(`${cloc.header.cloc_url} ${cloc.header.cloc_version}`)
|
||||
.addField(`❯ JS (${formatNumber(cloc.JavaScript.nFiles)})`, formatNumber(cloc.JavaScript.code), true)
|
||||
.addField(`❯ JSON (${formatNumber(cloc.JSON.nFiles)})`, formatNumber(cloc.JSON.code), true)
|
||||
.addField(`❯ YAML (${formatNumber(cloc.YAML.nFiles)})`, formatNumber(cloc.YAML.code), true)
|
||||
.addField(`❯ TXT (${formatNumber(cloc.TXT.nFiles)})`, formatNumber(cloc.TXT.code), true)
|
||||
.addField('\u200B', '\u200B', true)
|
||||
.addField(`❯ Total (${formatNumber(cloc.SUM.nFiles)})`, formatNumber(cloc.SUM.code), true)
|
||||
.addField('\u200B', '\u200B', true);
|
||||
@@ -42,6 +42,7 @@ module.exports = class ClocCommand extends Command {
|
||||
'--exclude-dir=node_modules',
|
||||
'--read-lang-def',
|
||||
path.join(__dirname, '..', '..', 'assets', 'txt', 'txt_definition.txt'),
|
||||
'--force-lang="TXT",txt',
|
||||
path.join(__dirname, '..', '..')
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user