mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Javascript: Autoformat.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import javascript
|
||||
|
||||
from Function f, GlobalVariable gv
|
||||
where gv.getAnAccess().getEnclosingFunction() = f and
|
||||
not f.getStartBB().isLiveAtEntry(gv, _)
|
||||
where
|
||||
gv.getAnAccess().getEnclosingFunction() = f and
|
||||
not f.getStartBB().isLiveAtEntry(gv, _)
|
||||
select f, "This function uses " + gv + " like a local variable."
|
||||
|
||||
Reference in New Issue
Block a user