[fix] default yaml.dump to block style (#2591)
* [fix] default every field to block style * [change] per comment * [fix] per comment
This commit is contained in:
parent
d72f435be5
commit
07296bc5ba
|
|
@ -868,7 +868,7 @@ class Compiler(object):
|
|||
will be returned.
|
||||
"""
|
||||
yaml.Dumper.ignore_aliases = lambda *args : True
|
||||
yaml_text = yaml.dump(workflow, default_flow_style=False)
|
||||
yaml_text = yaml.dump(workflow, default_flow_style=False, default_style='|')
|
||||
|
||||
if '{{pipelineparam' in yaml_text:
|
||||
raise RuntimeError(
|
||||
|
|
|
|||
Loading…
Reference in New Issue