File tree 2 files changed +32
-0
lines changed
lib/styles/selectors/query
2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : 👔 Format
2
+
3
+ on :
4
+ workflow_dispatch : null
5
+
6
+ jobs :
7
+ format :
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - name : Checkout repo
12
+ uses : actions/checkout@v4
13
+ - name : Setup node
14
+ uses : actions/setup-node@v4
15
+ - name : Install deps
16
+ run : npm install
17
+ - name : Format
18
+ run : npm run eslint-fix
19
+ - name : Commit
20
+ run : |
21
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
22
+ git config --local user.name "github-actions[bot]"
23
+
24
+ git add .
25
+ if [ -z "$(git status --porcelain)" ]; then
26
+ echo "no formatting changed"
27
+ exit 0
28
+ fi
29
+ git commit -m "chore: format"
30
+ git push
31
+ echo "pushed formatting changes https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export function getAttributeValueNodes(
47
47
// empty or syntax error
48
48
continue ;
49
49
}
50
+ if ( expression . type === "VGenericExpression" ) continue ;
50
51
const expressions = getReferenceExpressions ( expression , context ) ;
51
52
if ( ! expressions ) {
52
53
// Expressions not found.
You can’t perform that action at this time.
0 commit comments