mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-10 08:35:42 +00:00
Reject unhandled scalar Tags in Lua encoder
This commit is contained in:
parent
7830940a9a
commit
5b7c00aa62
@ -197,7 +197,7 @@ func (le *luaEncoder) encodeAny(writer io.Writer, node *yaml.Node) error {
|
||||
return writeString(writer, node.Value)
|
||||
}
|
||||
default:
|
||||
return writeString(writer, node.Value)
|
||||
panic("Lua encoder NYI -- " + node.ShortTag())
|
||||
}
|
||||
case yaml.DocumentNode:
|
||||
err := writeString(writer, le.docPrefix)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user