Skip to content

Commit 0844805

Browse files
committed
Fixed detecting
1 parent 35e84f1 commit 0844805

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/util/stylesheet.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const astHelpers = {
9999
node.init &&
100100
node.init.callee &&
101101
node.init.callee.object &&
102+
node.init.callee.object.name &&
102103
node.init.callee.object.name.includes('StyleSheet')
103104
);
104105
},

0 commit comments

Comments
 (0)