fix accidental typo

Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
Erik Krogh Kristensen
2022-08-10 23:23:32 +02:00
committed by GitHub
parent a66229ee9d
commit 803e079dab

View File

@@ -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
}