Bumping golint

This commit is contained in:
Mike Farah
2026-03-21 09:25:31 +11:00
parent 34d3a29308
commit 6a965bc39a
5 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ func (n *CandidateNode) AddChild(rawChild *CandidateNode) {
func (n *CandidateNode) AddChildren(children []*CandidateNode) {
if n.Kind == MappingNode {
for i := 0; i < len(children); i += 2 {
for i := 0; i < len(children)-1; i += 2 {
key := children[i]
value := children[i+1]
n.AddKeyValueChild(key, value)