Add sh as a bash-compatible POSIX shell

This commit is contained in:
Alvaro Muñoz
2024-10-17 10:44:43 +02:00
parent b072cfa1f7
commit 6bf3eb79a9

View File

@@ -4,7 +4,7 @@ class BashShellScript extends ShellScript {
BashShellScript() {
exists(Run run |
this = run.getScript() and
run.getShell().matches("bash%")
run.getShell().matches(["bash%", "sh"])
)
}