just asking but the difference bwetween `println(w...
# github-workflows-kt
n
just asking but the difference bwetween
println(workflow.toYaml())
adding a newline at the end of the file when piped into the yaml and
workflow.writeToFile()
not doing so is not so important right? .. we could make
writeToFile()
add a newline too, just to make it more unified (also some editors show warnings on files without trailing linebreak) i guess its bad form to not have that..
p
Yeah, we could unify it
n
for now i sneaked a
trainingNewline
argument into my PR, but it would probably be better without ?
p
Yes, such changes in existing features are best done in separate PRs for visibility
👍 1