mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-10 16:55:40 +00:00
Panic on unhandled YAML Kind in Lua encoder
This commit is contained in:
parent
03560a3d84
commit
1ff44c5d52
@ -190,7 +190,7 @@ func (le *luaEncoder) encodeAny(writer io.Writer, node *yaml.Node) error {
|
||||
}
|
||||
return writeString(writer, le.docSuffix)
|
||||
default:
|
||||
return writeString(writer, "nil --[[ encoder NYI -- "+node.ShortTag()+" ]]")
|
||||
panic("Lua encoder NYI -- " + node.ShortTag())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user