Skip to content

Commit 9f87446

Browse files
committed
JS: Remove a fixed spurious alert
1 parent 3a535db commit 9f87446

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • javascript/ql/test/query-tests/Security/CWE-843

javascript/ql/test/query-tests/Security/CWE-843/tst.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ express().get('/some/path', function (req, res) {
3333
foo.indexOf();
3434
}
3535
if (foo instanceof Array) {
36-
foo.indexOf(); // $ SPURIOUS: Alert
36+
foo.indexOf();
3737
}
3838

3939
(foo + f()).indexOf();

0 commit comments

Comments
 (0)