Autoformat.

This commit is contained in:
Geoffrey White
2021-10-14 16:00:23 +01:00
parent f08d2ee759
commit 8f30b8b586
4 changed files with 7 additions and 14 deletions

View File

@@ -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