Skip to content

Commit c5285f7

Browse files
committed
update inconsistency comment for CWE-843
1 parent 45b6906 commit c5285f7

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(); // OK
3434
}
3535
if (foo instanceof Array) {
36-
foo.indexOf(); // OK, but still flagged
36+
foo.indexOf(); // OK, but still flagged [INCONSISTENCY]
3737
}
3838

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

0 commit comments

Comments
 (0)