We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5e2ed commit 20f76e5Copy full SHA for 20f76e5
ruby/ql/lib/codeql/ruby/frameworks/ActionCable.qll
@@ -48,7 +48,7 @@ module ActionCable {
48
// database
49
not m = getActionCableChannelBase().asModule().getAnInstanceMethod() and
50
// and as long as it's public
51
- m.asCallableAstNode().isPublic() and
+ m.isPublic() and
52
// and is not called `subscribed` or `unsubscribed`.
53
not m.getMethodName() = ["subscribed", "unsubscribed"]
54
|
0 commit comments