Skip to content

Commit e1f0adf

Browse files
Update packages/@tailwindcss-upgrade/src/template/codemods/important.ts
1 parent c1207c2 commit e1f0adf

File tree

1 file changed

+2
-2
lines changed
  • packages/@tailwindcss-upgrade/src/template/codemods

1 file changed

+2
-2
lines changed

packages/@tailwindcss-upgrade/src/template/codemods/important.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function important(
2525
end: number
2626
},
2727
): string {
28-
nextCandidate: for (let candidate of parseCandidate(rawCandidate, designSystem)) {
28+
for (let candidate of parseCandidate(rawCandidate, designSystem)) {
2929
if (candidate.important && candidate.raw[candidate.raw.length - 1] !== '!') {
3030
// The important migration is one of the most broad migrations with a high
3131
// potential of matching false positives since `!` is a valid character in
@@ -59,7 +59,7 @@ export function important(
5959
}
6060

6161
if (!isQuoteBeforeCandidate || !isQuoteAfterCandidate) {
62-
continue nextCandidate
62+
continue
6363
}
6464
}
6565

0 commit comments

Comments
 (0)