mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Javascript: Autoformat.
This commit is contained in:
@@ -17,7 +17,7 @@ import semmle.javascript.RestrictedLocations
|
||||
from ReturnStmt r, AssignExpr assgn, Variable v
|
||||
where
|
||||
assgn = r.getExpr().stripParens() and
|
||||
v = (r.getContainer().(Function)).getScope().getAVariable() and
|
||||
v = r.getContainer().(Function).getScope().getAVariable() and
|
||||
not v.isCaptured() and
|
||||
assgn.getLhs() = v.getAnAccess()
|
||||
select r.(FirstLineOf),
|
||||
|
||||
Reference in New Issue
Block a user