Skip to content

Commit a1e4a2a

Browse files
author
Barzilay, Oshri (ob143h)
committed
UTs update
1 parent b618278 commit a1e4a2a

File tree

2 files changed

+309
-5
lines changed

2 files changed

+309
-5
lines changed

lib/util/stylesheet.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,11 +476,9 @@ const astHelpers = {
476476
const [styleSheetName, properties] = this.getDestructuringAssignmentParts(node);
477477

478478
return styleSheetName && properties
479-
? properties.flatMap((property) =>
480-
property.key && property.key.type === 'Identifier' && property.key.name
481-
? `${styleSheetName}.${property.key.name}`
482-
: []
483-
)
479+
? properties.flatMap((property) => (property.key && property.key.type === 'Identifier' && property.key.name
480+
? `${styleSheetName}.${property.key.name}`
481+
: []))
484482
: [];
485483
},
486484

0 commit comments

Comments
 (0)