This commit is contained in:
Mike Farah
2021-12-04 13:25:32 +11:00
parent 055e441686
commit 2f05f7390f
7 changed files with 168 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func add(d *dataTreeNavigator, context Context, lhs *CandidateNode, rhs *Candida
switch lhsNode.Kind {
case yaml.MappingNode:
return nil, fmt.Errorf("Maps not yet supported for addition")
return nil, fmt.Errorf("maps not yet supported for addition")
case yaml.SequenceNode:
target.Node.Kind = yaml.SequenceNode
target.Node.Style = lhsNode.Style