Skip to content

Commit 98d1d79

Browse files
committed
JS: Remove a fixed spurious alert
1 parent 00a739a commit 98d1d79

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Security/CWE-843

1 file changed

+1
-1
lines changed

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)