I'm trying to use wdltools format in continuous integration testing, in order to verify that the WDL file has been properly formatted. I've noticed that the output of
wdltools format test.wdl
generates a trailing newline, while
wdltools format --overwrite test.wdl
does not generate a file with a trailing newline. I would like to see the wdltools format output be independent of the --overwrite flag setting.
I'm trying to use
wdltools format
in continuous integration testing, in order to verify that the WDL file has been properly formatted. I've noticed that the output ofgenerates a trailing newline, while
does not generate a file with a trailing newline. I would like to see the
wdltools format
output be independent of the--overwrite
flag setting.