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 f4bbbc3 commit 50bf9aeCopy full SHA for 50bf9ae
ruby/ql/lib/codeql/ruby/frameworks/Grape.qll
@@ -26,7 +26,7 @@ module Grape {
26
*/
27
class RootApi extends GrapeApiClass {
28
RootApi() {
29
- not exists(GrapeApiClass parent | this != parent and this = parent.getADescendent())
+ not this = any(GrapeApiClass parent).getAnImmediateDescendent()
30
}
31
32
0 commit comments