Merge pull request #9821 from erik-krogh/jsQlFix

JS: fix some QL-for-QL warnings in JS
This commit is contained in:
Esben Sparre Andreasen
2022-08-09 22:06:29 +02:00
committed by GitHub
8 changed files with 15 additions and 15 deletions

View File

@@ -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