Skip to content

Commit f1deff9

Browse files
committed
fix(generator): uncomment this.yarnInstall()
1 parent 81768d0 commit f1deff9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

generators/app/index.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ const pkg = require('../../package.json');
66

77
module.exports = class extends Generator {
88
async prompting() {
9-
this.log(
10-
yosay(`Welcome to the ${chalk.red(pkg.name)} generator!`),
11-
);
9+
this.log(yosay(`Welcome to the ${chalk.red(pkg.name)} generator!`));
1210

1311
const gitName = this.user.git.name() || 'organization';
1412
const gitEmail = this.user.git.email() || 'hi@domain.com';
@@ -60,8 +58,7 @@ module.exports = class extends Generator {
6058
},
6159
];
6260

63-
return this.prompt(prompts).then(props => {
64-
// To access props later use this.props.someAnswer;
61+
return this.prompt(prompts).then((props) => {
6562
this.props = props;
6663
});
6764
}
@@ -79,6 +76,6 @@ module.exports = class extends Generator {
7976
}
8077

8178
install() {
82-
// this.yarnInstall();
79+
this.yarnInstall();
8380
}
8481
};

0 commit comments

Comments
 (0)