Skip to content

Commit 75a7ba5

Browse files
Napalysasgerf
andauthored
Update javascript/ql/src/Quality/UnhandledStreamPipe.ql
Co-authored-by: Asger F <asgerf@github.com>
1 parent 3cbc414 commit 75a7ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/Quality/UnhandledStreamPipe.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private DataFlow::SourceNode destinationStreamRef(DataFlow::TypeTracker t, PipeC
147147
or
148148
exists(DataFlow::SourceNode prev |
149149
prev = destinationStreamRef(t.continue(), pipe) and
150-
streamFlowStep(result.getALocalUse(), prev)
150+
streamFlowStep(prev, result)
151151
)
152152
or
153153
exists(DataFlow::TypeTracker t2 | result = destinationStreamRef(t2, pipe).track(t2, t))

0 commit comments

Comments
 (0)