Docs should state createNewFileAction() rather than new createNewFileAction()

Signed-off-by: Richard Quintin <rquintin@vt.edu>
This commit is contained in:
Richard Quintin
2024-05-29 15:28:55 -04:00
parent 66058dcc5b
commit 7bdf603d82
@@ -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
},
});
},