Skip to content

Commit 2c4f30c

Browse files
committed
fix(ci): fallthrough case
1 parent 582b3b8 commit 2c4f30c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/workflowFunctions/validateTags.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ enum ConflictType {
1515
NoWhiteSpace,
1616
NameNotInKeywords,
1717
Status404Link,
18-
NameLowercase
18+
NameLowercase,
1919
}
2020

2121
type Conflict = {
@@ -128,7 +128,7 @@ export async function validateTags(
128128
secondName: '',
129129
conflictKeyWords: [],
130130
type: ConflictType.NameLowercase,
131-
})
131+
});
132132
}
133133

134134
if (tag.keywords.some((keyword) => !keyword.replaceAll(/\s+/g, '').length)) {
@@ -213,6 +213,7 @@ export async function validateTags(
213213
break;
214214
case ConflictType.Status404Link:
215215
a.status404LinkConflicts.push(conflict);
216+
break;
216217
case ConflictType.NameLowercase:
217218
a.nameLowercaseConflicts.push(conflict);
218219
}
@@ -265,7 +266,7 @@ export async function validateTags(
265266
`Tag validation error: Tag name has to be lowercase:\n${nameLowercaseConflicts
266267
.map((conflict, index) => kleur.red(`${index}. [${conflict.firstName}]`))
267268
.join('\n')}`,
268-
)
269+
);
269270
}
270271

271272
if (emptyKeywordConflicts.length) {

0 commit comments

Comments
 (0)