mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Merge pull request #9821 from erik-krogh/jsQlFix
JS: fix some QL-for-QL warnings in JS
This commit is contained in:
@@ -46,7 +46,7 @@ private string getAMentionedNonParameter(Predicate p) {
|
||||
not result =
|
||||
[
|
||||
"true", "false", "NaN", "this", "forall", "exists", "null", "break", "return", "not", "if",
|
||||
"then", "else", "import"
|
||||
"then", "else", "import", "async"
|
||||
] and
|
||||
not result = any(Aggregate a).getKind() and // min, max, sum, count, etc.
|
||||
not result = getMentionedThings(p.getLocation().getFile()) and
|
||||
|
||||
Reference in New Issue
Block a user