Merge pull request #24971 from richardjq/docs-scaffolder-createNewFileAction

Docs should state `createNewFileAction()` rather than `new createNewF…
This commit is contained in:
Patrik Oldsberg
2024-05-30 00:19:24 +02:00
committed by GitHub
@@ -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
},
});
},