Skip to content

Commit 7d8284a

Browse files
asgerferik-krogh
andauthored
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 87aa39c commit 7d8284a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/CallGraphs.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ module CallGraph {
223223
}
224224

225225
/**
226-
* Gets a step summary that object literals we permit when tracking object literals.
226+
* Gets a step summary for tracking object literals.
227227
*
228228
* To avoid false flow from callbacks passed in via "named parameters", we only track object
229229
* literals out of returns, not into calls.
@@ -236,6 +236,6 @@ module CallGraph {
236236
shouldTrackObjectLiteral(node) and
237237
result = node
238238
or
239-
StepSummary::step(getAnObjectLiteralRef(node), result, [objectLiteralStep()])
239+
StepSummary::step(getAnObjectLiteralRef(node), result, objectLiteralStep())
240240
}
241241
}

0 commit comments

Comments
 (0)