Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f276904

Browse files
committed
Ruby: Add nomagic pragma to helper
1 parent 3031b39 commit f276904

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ruby/ql/lib/codeql/ruby/frameworks/ActionController.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ class ActionControllerActionMethod extends Method, HTTP::Server::RequestHandler:
9999
}
100100
}
101101

102+
pragma[nomagic]
102103
private predicate isRoute(
103104
ActionDispatch::Route route, string name, ActionControllerControllerClass controllerClass
104105
) {

0 commit comments

Comments
 (0)