Skip to content

Commit 87b1bfb

Browse files
committed
fix(gen:app): don't run bower after scaffold
1 parent f14614e commit 87b1bfb

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Diff for: src/generators/app/index.js

+4-8
Original file line numberDiff line numberDiff line change
@@ -555,14 +555,10 @@ export class Generator extends Base {
555555
};
556556
}
557557

558-
get install() {
559-
return {
560-
installDeps: function() {
561-
this.installDependencies({
562-
skipInstall: this.options['skip-install']
563-
});
564-
}
565-
};
558+
install() {
559+
if(!this.options['skip-install']) {
560+
this.spawnCommand('npm', ['install']);
561+
}
566562
}
567563

568564
get end() {

0 commit comments

Comments
 (0)