File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ruby/ql/lib/codeql/ruby/frameworks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,13 @@ module ActiveSupport {
9494 * `Object#try!` behaves similarly but raises `NoMethodError` if the
9595 * receiver is not `nil` and does not respond to the method.
9696 */
97- class TryCallCodeExecution extends CodeExecution:: Range , DataFlow:: CallNode {
97+ class TryCallCodeExecution extends CodeExecution:: Range instanceof DataFlow:: CallNode {
9898 TryCallCodeExecution ( ) {
9999 this .asExpr ( ) .getExpr ( ) instanceof UnknownMethodCall and
100100 this .getMethodName ( ) = [ "try" , "try!" ]
101101 }
102102
103- override DataFlow:: Node getCode ( ) { result = this .getArgument ( 0 ) }
103+ override DataFlow:: Node getCode ( ) { result = super .getArgument ( 0 ) }
104104
105105 override predicate runsArbitraryCode ( ) { none ( ) }
106106 }
You can’t perform that action at this time.
0 commit comments