mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Ruby: fix use of deprecated predicate
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user