codeinf 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -219,7 +219,7 @@ function formatTable(data, useColor = true) {
|
|
|
219
219
|
console.log(` ${c('─'.repeat(75), 'gray')}`);
|
|
220
220
|
|
|
221
221
|
for (const [ext, stats] of sorted) {
|
|
222
|
-
const extDisplay = ext === '(no extension)' ? c('
|
|
222
|
+
const extDisplay = ext === '(no extension)' ? c('.file', 'gray') : c(ext, getExtColor(ext));
|
|
223
223
|
const files = c(stats.files.toString().padStart(6), 'green');
|
|
224
224
|
const lines = c(stats.lines.toLocaleString().padStart(10), 'cyan');
|
|
225
225
|
const size = c(formatBytes(stats.size).padStart(10), 'magenta');
|
package/package.json
CHANGED