Skip to content

Commit

Permalink
Fix metavars for ast-grep-0.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannier committed Jan 8, 2024
1 parent e601b70 commit 624dba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/use-dd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rule:
all:
- kind: "type_member_ident"
has:
pattern: "$$F"
pattern: "$F"
inside:
kind: "type_member"
has:
Expand All @@ -22,7 +22,7 @@ rule:
has:
field: "name"
kind: "ident"
pattern: "$$F"
pattern: "$F"

fix: "$$"

Expand Down

0 comments on commit 624dba0

Please sign in to comment.