File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
ruby/ql/lib/codeql/ruby/frameworks/actioncontroller Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,11 @@ module Filters {
188
188
* with the same name is registered later one, overriding this one.
189
189
*/
190
190
predicate skipped ( ActionControllerActionMethod action ) {
191
- this = any ( SkipFilter f ) .getSkippedFilter ( action ) or
192
- this .overridden ( )
191
+ action = this .getAnAction ( ) and
192
+ (
193
+ this = any ( SkipFilter f ) .getSkippedFilter ( action ) or
194
+ this .overridden ( )
195
+ )
193
196
}
194
197
195
198
/**
@@ -239,7 +242,7 @@ module Filters {
239
242
}
240
243
241
244
/**
242
- * Behaviour that is common to filters and `skip_*` calls.
245
+ * Behavior that is common to filters and `skip_*` calls.
243
246
* This is separated just because when we don't want `Filter` to include `skip_*` calls.
244
247
*/
245
248
private class FilterImpl extends StringlikeLiteralCfgNode {
You can’t perform that action at this time.
0 commit comments