Skip to content

Commit bd69455

Browse files
committed
[css-hint addon] Use inner state, rather than token state
Closes #2482
1 parent 244a7bf commit bd69455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/hint/css-hint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
result.push(name);
3232
}
3333

34-
var st = token.state.state;
34+
var st = inner.state.state;
3535
if (st == "pseudo" || token.type == "variable-3") {
3636
add(pseudoClasses);
3737
} else if (st == "block" || st == "maybeprop") {

0 commit comments

Comments
 (0)