Merge master fix

This commit is contained in:
Mike Farah
2020-09-13 10:59:40 +10:00
parent 3355e80d85
commit a8cfccd3af
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -59,13 +59,13 @@ type jsonEncoder struct {
}
func mapKeysToStrings(node *yaml.Node) {
if node.Kind == yaml.MappingNode {
for index, child := range node.Content {
if index % 2 == 0 { // its a map key
if index%2 == 0 { // its a map key
child.Tag = "!!str"
}
}
}
}
for _, child := range node.Content {