mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Ruby: actually call the isPublic() predicate I added
This commit is contained in:
@@ -48,7 +48,7 @@ module ActionCable {
|
||||
// database
|
||||
not m = getActionCableChannelBase().asModule().getAnInstanceMethod() and
|
||||
// and as long as it's public
|
||||
m.asCallableAstNode().isPublic() and
|
||||
m.isPublic() and
|
||||
// and is not called `subscribed` or `unsubscribed`.
|
||||
not m.getMethodName() = ["subscribed", "unsubscribed"]
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user