Ruby: fix use of deprecated predicate

This commit is contained in:
Alex Ford
2023-06-08 12:09:22 +01:00
parent 397a809426
commit b4620042a5

View File

@@ -14,7 +14,7 @@ private class CallMethodNode extends DataFlow::MethodNode {
private DataFlow::LocalSourceNode trackRackResponse(TypeBackTracker t, CallMethodNode call) {
t.start() and
result = call.getAReturningNode()
result = call.getAReturnNode()
or
exists(TypeBackTracker t2 | result = trackRackResponse(t2, call).backtrack(t2, t))
}