Skip to content

Commit 1a82ce4

Browse files
authored
Fix typo in metavariable-name example (#2601)
In this example metavariable-regex was accidentally used instead of metavariable-name.
1 parent 16b3bf0 commit 1a82ce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/writing-rules/rule-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ rules:
816816
- id: insecure-method
817817
patterns:
818818
- pattern: $MODULE.method(...)
819-
- metavariable-regex:
819+
- metavariable-name:
820820
metavariable: $MODULE
821821
modules:
822822
- foo

0 commit comments

Comments
 (0)