mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Remove redundant exclusion of base Grape::API module from GrapeApiClass
- should not impact extracted application code
This commit is contained in:
@@ -45,8 +45,7 @@ module Grape {
|
||||
*/
|
||||
class GrapeApiClass extends DataFlow::ClassNode {
|
||||
GrapeApiClass() {
|
||||
this = grapeApiBaseClass().getADescendentModule() and
|
||||
not exists(DataFlow::ModuleNode m | m = grapeApiBaseClass().asModule() | this = m)
|
||||
this = grapeApiBaseClass().getADescendentModule()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user