This commit is contained in:
Mike Garuccio
2023-03-03 01:07:18 -05:00
parent 3033c9816a
commit 2b5a7c16b2

View File

@@ -48,7 +48,7 @@ def check_file(filename, args):
# We also leverage the _load_all function if the user specifies to allow muliple documents
# in each individual YAML file
if filename.endswith('.yaml'):
if args.allow_multiple:
if args.allow_multiple_documents:
loader_func = _load_all
loader_func = yaml.load
else: