From 9218227a1713e005eb98636e58279460ff1f14ed Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Fri, 17 Jan 2025 08:57:31 +0100 Subject: [PATCH 1/3] Remove unused stub args variable to satisfy langauge server --- nf_core/module-template/main.nf | 1 - 1 file changed, 1 deletion(-) diff --git a/nf_core/module-template/main.nf b/nf_core/module-template/main.nf index 5258403e8f..bb09535713 100644 --- a/nf_core/module-template/main.nf +++ b/nf_core/module-template/main.nf @@ -96,7 +96,6 @@ process {{ component_name_underscore|upper }} { """ stub: - def args = task.ext.args ?: '' {% if has_meta -%} def prefix = task.ext.prefix ?: "${meta.id}" {%- endif %} From b6aebbd88314de23ff2a8d837d1d3b68e795681e Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Fri, 17 Jan 2025 07:58:41 +0000 Subject: [PATCH 2/3] [automated] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2985dbd391..abde5981e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ### Modules - Fix bump-versions: only append module name if it is a dir and contains main.nf ([#3384](https://github.com/nf-core/tools/pull/3384)) +- Remove args stub from module template to satisfy language server ([#3403](https://github.com/nf-core/tools/pull/3403)) ### Subworkflows From 06613cb4f7d1bea7733d25526faf4b89c7f6591e Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Tue, 21 Jan 2025 08:29:20 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5416ac371..3428bae120 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ ### Modules -- Fix bump-versions: only append module name if it is a dir and contains main.nf ([#3384](https://github.com/nf-core/tools/pull/3384)) +- Fix bump-versions: only append module name if it is a dir and contains `main.nf` ([#3384](https://github.com/nf-core/tools/pull/3384)) ### General