1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-21 00:19:42 +02:00

fix for rare instances when the output is a list of lists (yaml | yaml -> json)

This commit is contained in:
Kelly Brazil
2022-10-04 12:14:32 -07:00
parent d7684d39a8
commit 028f55910a

View File

@ -620,6 +620,7 @@ class JcCli():
self.data_out.append({})
for item in self.data_out:
if isinstance(item, dict):
if '_jc_meta' not in item:
item['_jc_meta'] = {}