Added gofmt to format command

This commit is contained in:
Mike Farah
2021-06-01 10:52:14 +10:00
parent dd86b5e7f2
commit fae2b2643c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -308,6 +308,6 @@ func traverseMergeAnchor(newMatches *orderedmap.OrderedMap, originalCandidate *C
func traverseArray(candidate *CandidateNode, operation *Operation, prefs traversePreferences) (*list.List, error) {
log.Debug("operation Value %v", operation.Value)
indices := []*yaml.Node{&yaml.Node{Value: operation.StringValue}}
indices := []*yaml.Node{{Value: operation.StringValue}}
return traverseArrayWithIndices(candidate, indices, prefs)
}