Skip to content

Commit 589e1e5

Browse files
knewbury01Copilot
andauthored
Update actions/ql/lib/ext/config/poisonable_steps.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c9e5dbd commit 589e1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/ql/lib/ext/config/poisonable_steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ extensions:
7070
- ["(source|sh|bash|zsh|fish)\\s+([^\\s]+)\\b", 2]
7171
- ["(node)\\s+([^\\s]+)(\\.js|\\.ts)\\b", 2]
7272
- ["(python[\\d\\.]*)\\s+([^\\s]+)\\.py\\b", 2]
73-
- ["(python[\\d\\.]*)\\s+([\\-m]+)\\s+(\\w+)\\b", 2] # eg: pythonX -m anything(dir or file)
73+
- ["(python[\\d\\.]*)\\s+-m\\s+([A-Za-z_][\\w\\.]*)\\b", 2] # eg: pythonX -m anything(dir or file)
7474
- ["(ruby)\\s+([^\\s]+)\\.rb\\b", 2]
7575
- ["(go)\\s+(generate|run)(?:\\s+-[^\\s]+)*\\s+([^\\s]+)", 3]
7676
- ["(dotnet)\\s+([^\\s]+)\\.csproj\\b", 2]

0 commit comments

Comments
 (0)