mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
renamed "isGenerator" to "is_generator"
This commit is contained in:
@@ -15,6 +15,6 @@ import javascript
|
||||
from YieldExpr yield, Function f
|
||||
where
|
||||
f = yield.getEnclosingFunction() and
|
||||
not isGenerator(f)
|
||||
not is_generator(f)
|
||||
select yield, "This yield expression is contained in $@ which is not marked as a generator.",
|
||||
f.getFirstToken(), f.describe()
|
||||
|
||||
Reference in New Issue
Block a user