Ruby: actually call the isPublic() predicate I added

This commit is contained in:
Nick Rolfe
2022-11-10 15:53:04 +00:00
parent 2b5e2ed282
commit 20f76e50c3

View File

@@ -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"]
|