Fixed error prone checking etc in codebase
This commit is contained in:
@ -181,7 +181,7 @@ try {
|
||||
for (const tag of tags) {
|
||||
const capitalizedTag = capitalize(tag, true);
|
||||
// 
|
||||
if (capitalizedTag == 'Uncategorized') {
|
||||
if (capitalizedTag === 'Uncategorized') {
|
||||
uncategorizedOutput += `---\n ## _${capitalizedTag}_\n`;
|
||||
for (const taggedSnippet of Object.entries(tagDbData).filter(v => v[1][0] === tag)) {
|
||||
uncategorizedOutput += `\n${snippets[taggedSnippet[0] + '.md'] +
|
||||
|
||||
Reference in New Issue
Block a user