From b99294d86aabceebc14020ae036f80c168c5ba20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Wed, 9 Oct 2024 20:20:11 +0200 Subject: [PATCH] Update docs/features/software-templates/writing-templates.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- docs/features/software-templates/writing-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md index c1c8250be9..686ed1de32 100644 --- a/docs/features/software-templates/writing-templates.md +++ b/docs/features/software-templates/writing-templates.md @@ -878,7 +878,7 @@ const scaffolderModuleCustomFilters = createBackendModule({ myGlobal: () => 'myGlobal', myFunctionGlobal: (...args: JsonValue[]) => args[0] + args[1], }); - scaffolder.additionalTemplateFilters({ + scaffolder.addTemplateFilters({ myFilter: () => 'the value is this now', myOtherFilter: (...args: JsonValue[]) => args.join(''), });