Update untagged output
This commit is contained in:
@ -60,7 +60,7 @@ catch (err){ // Handle errors (hopefully not!)
|
|||||||
console.log(`\n${chalk.bgWhite(chalk.black('=== TAG STATS ==='))}`)
|
console.log(`\n${chalk.bgWhite(chalk.black('=== TAG STATS ==='))}`)
|
||||||
for(let tagData of Object.entries(tagDbStats).filter(v => v[0] !== 'undefined'))
|
for(let tagData of Object.entries(tagDbStats).filter(v => v[0] !== 'undefined'))
|
||||||
console.log(`${chalk.green(tagData[0])}: ${tagData[1]} snippets`);
|
console.log(`${chalk.green(tagData[0])}: ${tagData[1]} snippets`);
|
||||||
console.log(`${chalk.blue('Uncategorized snippets:')} ${missingTags}\n`);
|
console.log(`${chalk.blue('New untagged snippets (will be tagged as \'uncategorized\'):')} ${missingTags}\n`);
|
||||||
// Log a success message
|
// Log a success message
|
||||||
console.log(`${chalk.green('SUCCESS!')} tag_database file updated!`);
|
console.log(`${chalk.green('SUCCESS!')} tag_database file updated!`);
|
||||||
// Log the time taken
|
// Log the time taken
|
||||||
|
|||||||
Reference in New Issue
Block a user