Skip to content

Commit

Permalink
Extension default name is the extension type (#134)
Browse files Browse the repository at this point in the history
fixed #133

Signed-off-by: Jonas Helming <[email protected]>
  • Loading branch information
JonasHelming authored Jul 25, 2022
1 parent 3d5ab33 commit 45ffcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 45ffcaa

Please sign in to comment.