Skip to content

Commit

Permalink
fix default user name and skip install bower by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hariadi committed Sep 8, 2014
1 parent 2124d48 commit 8a710c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var MetalsmithGenerator = yeoman.generators.Base.extend({
this.on('end', function () {
this.installDependencies({
skipInstall: this.options['skip-install'] || this.options.s,
bower: false,
callback: function () {
this.spawnCommand('make', ['build']);
}.bind(this)
Expand Down Expand Up @@ -64,7 +65,7 @@ var MetalsmithGenerator = yeoman.generators.Base.extend({
type : 'input',
name : 'msAuthor',
message : 'Author name',
default : this.user.git.username || 'Metal Smith'
default : this.user.git.name() || 'Metal Smith'
}, {
type : 'input',
name : 'msGithubUser',
Expand Down

0 comments on commit 8a710c7

Please sign in to comment.