mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
update inconsistency comment for CWE-843
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user