From 7bdf603d8272e4ad6e73dc4cc44550135cf9a5ca Mon Sep 17 00:00:00 2001 From: Richard Quintin Date: Wed, 29 May 2024 15:28:55 -0400 Subject: [PATCH] Docs should state `createNewFileAction()` rather than `new createNewFileAction()` Signed-off-by: Richard Quintin --- docs/features/software-templates/writing-custom-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md index 3b358e4c14..dab08e3454 100644 --- a/docs/features/software-templates/writing-custom-actions.md +++ b/docs/features/software-templates/writing-custom-actions.md @@ -216,7 +216,7 @@ const scaffolderModuleCustomExtensions = createBackendModule({ async init({ scaffolder /* ..., other dependencies */ }) { // Here you have the opportunity to interact with the extension // point before the plugin itself gets instantiated - scaffolder.addActions(new createNewFileAction()); // just an example + scaffolder.addActions(createNewFileAction()); // just an example }, }); },