We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b618278 commit a1e4a2aCopy full SHA for a1e4a2a
lib/util/stylesheet.js
@@ -476,11 +476,9 @@ const astHelpers = {
476
const [styleSheetName, properties] = this.getDestructuringAssignmentParts(node);
477
478
return styleSheetName && properties
479
- ? properties.flatMap((property) =>
480
- property.key && property.key.type === 'Identifier' && property.key.name
481
- ? `${styleSheetName}.${property.key.name}`
482
- : []
483
- )
+ ? properties.flatMap((property) => (property.key && property.key.type === 'Identifier' && property.key.name
+ ? `${styleSheetName}.${property.key.name}`
+ : []))
484
: [];
485
},
486
0 commit comments