Skip to content

Commit

Permalink
fix(app): use installDependencies() method
Browse files Browse the repository at this point in the history
Fixes spawning bower and npm on Windows systems.
  • Loading branch information
kevva authored and btford committed Apr 20, 2013
1 parent 3c8daab commit 8369d9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ var Generator = module.exports = function Generator() {
});

this.on('end', function () {
console.log('\n\nI\'m all done. Running ' + 'npm install & bower install'.bold.yellow + ' for you to install the required dependencies. If this fails, try running the command yourself.\n\n');
spawn('npm', ['install'], { stdio: 'inherit' });
spawn('bower', ['install'], { stdio: 'inherit' });
this.installDependencies({ skipInstall: this.options['skip-install'] });
});
};

Expand Down

0 comments on commit 8369d9a

Please sign in to comment.