mirror of
https://github.com/github/codeql.git
synced 2026-01-02 17:26:44 +01:00
Add sh as a bash-compatible POSIX shell
This commit is contained in:
@@ -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"])
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user