1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Fix delete adding entries

This commit is contained in:
Mike Farah
2020-02-04 09:58:20 +11:00
parent 6840ea8c78
commit 6f0538173b
2 changed files with 17 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ func DeleteNavigationStrategy(pathElementToDelete string) NavigationStrategy {
return false
},
autoCreateMap: func(nodeContext NodeContext) bool {
return true
return false
},
visit: func(nodeContext NodeContext) error {
node := nodeContext.Node