From 45ffcaa30e10998b2586bf1f201f0c35bb7d6f8f Mon Sep 17 00:00:00 2001 From: Jonas Helming Date: Mon, 25 Jul 2022 13:57:40 +0200 Subject: [PATCH] Extension default name is the extension type (#134) fixed #133 Signed-off-by: Jonas Helming --- src/app/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/index.ts b/src/app/index.ts index 71f8547..affd5a9 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -168,7 +168,7 @@ module.exports = class TheiaExtension extends Base { type: 'input', name: 'name', message: "The extension's name", - default: path.parse(process.cwd()).name + default: (this.options as any).extensionType }); (this.options as any).extensionName = answer.name; }