Skip to content

Commit b04d701

Browse files
committed
fix test
1 parent c2fbcea commit b04d701

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/test/query-tests/Security/CWE-078/command-line-parameter-command-injection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cp.exec("cmd.sh " + require("optimist").argv.foo); // NOT OK
4848
argv: {
4949
...args
5050
},
51-
} = yargs
51+
} = require('yargs')
5252
.usage('Usage: foo bar')
5353
.command();
5454

0 commit comments

Comments
 (0)