We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e5dbd commit 589e1e5Copy full SHA for 589e1e5
actions/ql/lib/ext/config/poisonable_steps.yml
@@ -70,7 +70,7 @@ extensions:
70
- ["(source|sh|bash|zsh|fish)\\s+([^\\s]+)\\b", 2]
71
- ["(node)\\s+([^\\s]+)(\\.js|\\.ts)\\b", 2]
72
- ["(python[\\d\\.]*)\\s+([^\\s]+)\\.py\\b", 2]
73
- - ["(python[\\d\\.]*)\\s+([\\-m]+)\\s+(\\w+)\\b", 2] # eg: pythonX -m anything(dir or file)
+ - ["(python[\\d\\.]*)\\s+-m\\s+([A-Za-z_][\\w\\.]*)\\b", 2] # eg: pythonX -m anything(dir or file)
74
- ["(ruby)\\s+([^\\s]+)\\.rb\\b", 2]
75
- ["(go)\\s+(generate|run)(?:\\s+-[^\\s]+)*\\s+([^\\s]+)", 3]
76
- ["(dotnet)\\s+([^\\s]+)\\.csproj\\b", 2]
0 commit comments