Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Anber committed Nov 30, 2023
1 parent 58094c4 commit 1a46633
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/postcss-linaria/src/parse.ts
Expand Up @@ -138,7 +138,11 @@ export const parse: Parser<Root | Document> = (
extractedStyles.add(path.node);
}
}
if (path.node.tag.type === 'CallExpression') {

Check failure on line 141 in packages/postcss-linaria/src/parse.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 20.x)

Delete `······`
if (
path.node.tag.type === 'CallExpression' &&
path.node.tag.callee.type === 'Identifier'
) {
if (path.node.tag.callee.name === 'styled') {
extractedStyles.add(path.node);
}
Expand Down

0 comments on commit 1a46633

Please sign in to comment.