mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
committed by
GitHub
parent
a66229ee9d
commit
803e079dab
@@ -233,7 +233,7 @@ module AstConsistency {
|
||||
not exists(node.getParent()) and
|
||||
not node.getLocation().getStartColumn() = 1 and // startcolumn = 1 <=> top level in file <=> fine to have no parent
|
||||
exists(node.toString()) and // <- there are a few parse errors in "global-data-flow-java-1.ql", this way we filter them out.
|
||||
not node instanceof YAML::YAMLNode and // parents for YAML does't work
|
||||
not node instanceof YAML::YAMLNode and // parents for YAML doesn't work
|
||||
not (node instanceof QLDoc and node.getLocation().getFile().getExtension() = "dbscheme") // qldoc in dbschemes are not hooked up
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user