update inconsistency comment for CWE-843

This commit is contained in:
Erik Krogh Kristensen
2020-07-08 10:16:43 +02:00
parent 45b6906a0d
commit c5285f7418

View File

@@ -33,7 +33,7 @@ express().get('/some/path', function(req, res) {
foo.indexOf(); // OK
}
if (foo instanceof Array) {
foo.indexOf(); // OK, but still flagged
foo.indexOf(); // OK, but still flagged [INCONSISTENCY]
}
(foo + f()).indexOf(); // OK