From f5504de0297d2ae79e397b064850890ef4fefc86 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 1 Aug 2024 15:06:09 -0500 Subject: [PATCH] style: stripIndent => stripMargin Otherwise the Workflow is the only Yaml with 4 spaces instead of 2 --- .../subworkflows/nf-core/utils_nfcore_pipeline/main.nf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nf_core/pipeline-template/subworkflows/nf-core/utils_nfcore_pipeline/main.nf b/nf_core/pipeline-template/subworkflows/nf-core/utils_nfcore_pipeline/main.nf index 1f49da41b2..ba8d877ed8 100644 --- a/nf_core/pipeline-template/subworkflows/nf-core/utils_nfcore_pipeline/main.nf +++ b/nf_core/pipeline-template/subworkflows/nf-core/utils_nfcore_pipeline/main.nf @@ -128,10 +128,10 @@ def topicVersionToYAML(topic_version) { // def workflowVersionToYAML() { return """ - Workflow: - $workflow.manifest.name: ${getWorkflowVersion()} - Nextflow: $workflow.nextflow.version - """.stripIndent().trim() + |Workflow: + | $workflow.manifest.name: ${getWorkflowVersion()} + | Nextflow: $workflow.nextflow.version + """.stripMargin().trim() } //