Skip to content

Commit 803e079

Browse files
erik-kroghsmowton
andauthored
fix accidental typo
Co-authored-by: Chris Smowton <smowton@github.com>
1 parent a66229e commit 803e079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/ql/src/codeql_ql/ast/internal/AstNodes.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ module AstConsistency {
233233
not exists(node.getParent()) and
234234
not node.getLocation().getStartColumn() = 1 and // startcolumn = 1 <=> top level in file <=> fine to have no parent
235235
exists(node.toString()) and // <- there are a few parse errors in "global-data-flow-java-1.ql", this way we filter them out.
236-
not node instanceof YAML::YAMLNode and // parents for YAML does't work
236+
not node instanceof YAML::YAMLNode and // parents for YAML doesn't work
237237
not (node instanceof QLDoc and node.getLocation().getFile().getExtension() = "dbscheme") // qldoc in dbschemes are not hooked up
238238
}
239239

0 commit comments

Comments
 (0)