Skip to content

Commit e1b2b7e

Browse files
committed
fix(gen:app): don't run bower after scaffold
1 parent da9a1ee commit e1b2b7e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/generators/app/index.js

Lines changed: 4 additions & 8 deletions
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)