We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75a7ba5 commit 8056129Copy full SHA for 8056129
javascript/ql/src/Quality/UnhandledStreamPipe.ql
@@ -122,11 +122,9 @@ class ErrorHandlerRegistration extends DataFlow::MethodCallNode {
122
}
123
124
/**
125
- * Models flow relationships between streams and related operations.
126
- * Connects destination streams to their corresponding pipe call nodes.
127
- * Connects streams to their chainable methods.
+ * Holds if the stream in `node1` will propagate to `node2`.
128
*/
129
-private predicate streamFlowStep(DataFlow::Node streamNode, DataFlow::Node relatedNode) {
+private predicate streamFlowStep(DataFlow::Node node1, DataFlow::Node node2) {
130
exists(PipeCall pipe |
131
streamNode = pipe.getDestinationStream() and
132
relatedNode = pipe
0 commit comments