mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
fix some QL-for-QL warnings in JS
This commit is contained in:
@@ -38,7 +38,7 @@ predicate accessWithConversions(Expr e, Variable v) {
|
||||
}
|
||||
|
||||
/**
|
||||
* A comment containing the word "NaN".
|
||||
* Holds if `c` is a comment containing the word "NaN".
|
||||
*/
|
||||
predicate isNaNComment(Comment c, string filePath, int startLine) {
|
||||
c.getText().matches("%NaN%") and
|
||||
|
||||
Reference in New Issue
Block a user