mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
JavaScript: Autoformat all QL files.
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
import javascript
|
||||
|
||||
from YieldExpr yield, Function f
|
||||
where f = yield.getEnclosingFunction() and
|
||||
not f.isGenerator()
|
||||
where
|
||||
f = yield.getEnclosingFunction() and
|
||||
not f.isGenerator()
|
||||
select yield, "This yield expression is contained in $@ which is not marked as a generator.",
|
||||
f.getFirstToken(), f.describe()
|
||||
f.getFirstToken(), f.describe()
|
||||
|
||||
Reference in New Issue
Block a user