Update ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll

This commit is contained in:
Arthur Baars
2022-10-04 12:19:28 +02:00
parent 6e61ef10b8
commit ab3a62de3c

View File

@@ -185,7 +185,7 @@ module LocalFlow {
nodeTo.asExpr() =
any(CfgNodes::ExprNodes::BinaryOperationCfgNode op |
op.getExpr() instanceof BinaryLogicalOperation and
nodeFrom.asExpr() = op.getAPredecessor()
nodeFrom.asExpr() = op.getAnOperand()
)
}
}