From 00d26e07dd6ba008b58afe04c54bcf7e720c4f3a Mon Sep 17 00:00:00 2001 From: Sofia Drobysheva Date: Sun, 8 Sep 2024 16:39:57 +0200 Subject: [PATCH] .trim() removed to keep new lines between collected versions --- src/content/blog/2024/nextflow-24.04-highlights.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/blog/2024/nextflow-24.04-highlights.md b/src/content/blog/2024/nextflow-24.04-highlights.md index adfc444f..845ea8b7 100644 --- a/src/content/blog/2024/nextflow-24.04-highlights.md +++ b/src/content/blog/2024/nextflow-24.04-highlights.md @@ -156,10 +156,10 @@ workflow { Channel.topic('versions') // [!code ++] | unique() | map { process, name, version -> - """ + """\ ${process.tokenize(':').last()}: ${name}: ${version} - """.stripIndent().trim() + """.stripIndent() } | collectFile(name: 'collated_versions.yml') | CUSTOM_DUMPSOFTWAREVERSIONS