Skip to content

Commit 572db23

Browse files
authored
Fix crash when using postcss-sass syntax (#108)
1 parent f8bad77 commit 572db23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/isAllowedToProcess.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = function isAllowedToProcess(node) {
1010
}
1111

1212
// postcss-styled-syntax: Interpolations at the end of node
13-
if (node.raws.after.includes('${')) {
13+
if (node.raws.after?.includes('${')) {
1414
return false;
1515
}
1616

0 commit comments

Comments
 (0)