Smashing bugs in models by validating changes.

Who would have thought the what-changed tool would be the key to ensuring accuracy on the models.
This commit is contained in:
Dave Shanley
2022-11-19 10:32:19 -05:00
parent 22ca3ced63
commit 97a03315d6
14 changed files with 297 additions and 236 deletions

View File

@@ -221,7 +221,7 @@ func ExtractArray[T Buildable[N], N any](label string, root *yaml.Node, idx *ind
root.Content[1].Value)
}
} else {
_, ln, vn = utils.FindKeyNodeFull(label, root.Content)
_, ln, vn = utils.FindKeyNodeFullTop(label, root.Content)
if vn != nil {
if h, _, _ := utils.IsNodeRefValue(vn); h {
ref, err := LocateRefNode(vn, idx)