mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Autoformat.
This commit is contained in:
@@ -14,7 +14,7 @@ private import semmle.javascript.dataflow.internal.FlowSteps
|
||||
SourceNode getAnEnumeratedArrayElement(SourceNode array) {
|
||||
exists(MethodCallNode call, string name |
|
||||
call = array.getAMethodCall(name) and
|
||||
(name = ["forEach", "map"]) and
|
||||
name = ["forEach", "map"] and
|
||||
result = call.getCallback(0).getParameter(0)
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user