mirror of
https://github.com/mikefarah/yq.git
synced 2026-03-10 15:54:26 +00:00
Update pkg/yqlib/encoder_toml.go
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
parent
56eb3655b8
commit
b7cbe59fd7
@ -93,7 +93,7 @@ func (te *tomlEncoder) formatScalar(node *CandidateNode) string {
|
|||||||
return node.Value
|
return node.Value
|
||||||
case "!!null":
|
case "!!null":
|
||||||
// TOML does not have null; encode as empty string
|
// TOML does not have null; encode as empty string
|
||||||
return "\"\""
|
return `""`
|
||||||
default:
|
default:
|
||||||
return node.Value
|
return node.Value
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user