fixing logic issue
This commit is contained in:
@@ -50,6 +50,7 @@ def check_file(filename, args):
|
|||||||
if filename.endswith('.yaml'):
|
if filename.endswith('.yaml'):
|
||||||
if args.allow_multiple_documents:
|
if args.allow_multiple_documents:
|
||||||
loader_func = _load_all
|
loader_func = _load_all
|
||||||
|
else:
|
||||||
loader_func = yaml.load
|
loader_func = yaml.load
|
||||||
else:
|
else:
|
||||||
loader_func = json.load
|
loader_func = json.load
|
||||||
|
|||||||
Reference in New Issue
Block a user