fixing logic issue

This commit is contained in:
Mike Garuccio
2023-03-03 01:13:47 -05:00
parent 2b5a7c16b2
commit cb32ffd65a

View File

@@ -50,6 +50,7 @@ def check_file(filename, args):
if filename.endswith('.yaml'):
if args.allow_multiple_documents:
loader_func = _load_all
else:
loader_func = yaml.load
else:
loader_func = json.load