Skip to content

Commit 9e0f3be

Browse files
authored
update comment (#276)
- [x] I ran `make setup && make` to update the generated code after editing a `.atd` file (TODO: have a CI check) - [x] I made sure we're still backward compatible with old versions of the CLI. For example, the Semgrep backend need to still be able to *consume* data generated by Semgrep 1.17.0. See https://atd.readthedocs.io/en/latest/atdgen-tutorial.html#smooth-protocol-upgrades
1 parent 1038b23 commit 9e0f3be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rule_schema_v2.atd

+2
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ type metavariable_cond = {
410410
?type_ <json name="type">: string option;
411411
?types: string list option;
412412

413+
(* for semgrep-internal-metavariable-name, currently only support
414+
"django-view" kind *)
413415
?kind: string option;
414416

415417
(* this covers regex:/pattern:, but also all:/any: with optional where:

0 commit comments

Comments
 (0)