We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5061b7e commit b9d88c8Copy full SHA for b9d88c8
generators/app/index.js
@@ -49,15 +49,15 @@ module.exports = class extends Generator {
49
},
50
];
51
52
- return this.prompt(prompts).then((props) => {
53
- this.props = {
54
- ...props,
55
- elementName: changeCase.paramCase(props.elementName),
56
- elementOrganizationName: changeCase.paramCase(
57
- props.elementOrganizationName,
58
- ),
59
- };
60
- });
+ const props = await this.prompt(prompts);
+
+ this.props = {
+ ...props,
+ elementName: changeCase.paramCase(props.elementName),
+ elementOrganizationName: changeCase.paramCase(
+ props.elementOrganizationName,
+ ),
+ };
61
}
62
63
writing() {
0 commit comments