Skip to content

Commit 28c3bd3

Browse files
committed
Ruby: QL4QL fix
1 parent fb86ef4 commit 28c3bd3

File tree

1 file changed

+1
-3
lines changed
  • ruby/ql/lib/codeql/ruby/frameworks/actioncontroller

1 file changed

+1
-3
lines changed

ruby/ql/lib/codeql/ruby/frameworks/actioncontroller/Filters.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,5 @@ module Filters {
356356
* `pred` and `succ` may be methods bound to callbacks or controller actions.
357357
*/
358358
cached
359-
predicate next(Method pred, Method succ) {
360-
exists(ActionControllerActionMethod action | next(action, pred, succ))
361-
}
359+
predicate next(Method pred, Method succ) { next(_, pred, succ) }
362360
}

0 commit comments

Comments
 (0)