Skip to content

Commit

Permalink
fix: files= pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
elsapet committed May 14, 2024
1 parent ca7dc32 commit 070b0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/python/lang/path_using_user_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ patterns:
- variable: USER_INPUT
detection: python_shared_common_user_input
scope: result
- pattern: fileinput.$<METHOD>(files=($<...>$<USER_INPUT>$<...>)$<...>)
- pattern: fileinput.$<METHOD>($<...>files=$<USER_INPUT>$<...>)
filters:
- variable: USER_INPUT
detection: python_shared_common_user_input
Expand Down

0 comments on commit 070b0a1

Please sign in to comment.