We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b5ef6 commit 871e93dCopy full SHA for 871e93d
javascript/ql/lib/semmle/javascript/frameworks/ShellJS.qll
@@ -163,10 +163,7 @@ module ShellJS {
163
if name = "cmd"
164
then
165
result = this.getArgument(_) and
166
- not (
167
- result = this.getLastArgument() and
168
- exists(this.getOptionsArg())
169
- )
+ not result = this.getOptionsArg()
170
else
171
// For exec/asyncExec: only first argument is command
172
result = this.getArgument(0)
0 commit comments