Skip to content

Commit 91eec87

Browse files
author
ACR1209
committed
Fix linting
1 parent 4a0c670 commit 91eec87

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

utils/consolidateSnippets.ts

-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ const index: LanguageType[] = [];
2323
for (const language of languages) {
2424
copyFileSync(language.icon, join(iconPath, `${slugify(language.name)}.svg`));
2525

26-
2726
const subLanguages: LanguageType["subLanguages"] = [];
2827

29-
3028
for (const subLanguage of language.subLanguages) {
3129
const joinedName = `${slugify(language.name)}--${slugify(subLanguage.name)}`;
3230
const iconName = `${joinedName}.svg`;

utils/snippetParser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function parseSnippet(
7373
}
7474

7575
cursor += match[0].length;
76-
const extension = match[0].replace(/[\r\n`-]/g, "")
76+
const extension = match[0].replace(/[\r\n`-]/g, "");
7777

7878
match = codeRegex.exec(fromCursor());
7979
if (match === null) {

0 commit comments

Comments
 (0)