mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
remove location from "mapping i" print node
This commit is contained in:
@@ -587,8 +587,6 @@ module PrintYAML {
|
||||
index = i
|
||||
}
|
||||
|
||||
override Location getLocation() { result = mapping.getKeyNode(i).getLocation() }
|
||||
|
||||
override PrintAstNode getChild(int childIndex) {
|
||||
childIndex = 0 and result.(YAMLNodeNode).getValue() = mapping.getKeyNode(i)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user