Skip to content

Commit 6bf3eb7

Browse files
author
Alvaro Muñoz
committed
Add sh as a bash-compatible POSIX shell
1 parent b072cfa commit 6bf3eb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/lib/codeql/actions/Bash.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class BashShellScript extends ShellScript {
44
BashShellScript() {
55
exists(Run run |
66
this = run.getScript() and
7-
run.getShell().matches("bash%")
7+
run.getShell().matches(["bash%", "sh"])
88
)
99
}
1010

0 commit comments

Comments
 (0)