Skip to content

Commit

Permalink
fix(gen): use bool for bootstrap filters
Browse files Browse the repository at this point in the history
Changes:
- `filters.bootstrap` and `filters.uibootstrap` will be true or false only

Closes #496
  • Loading branch information
kingcody committed Aug 29, 2014
1 parent b67d2b6 commit a5decbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/index.js
Expand Up @@ -114,8 +114,8 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
this.filters[answers.markup] = true;
this.filters[answers.stylesheet] = true;
this.filters[answers.router] = true;
this.filters.bootstrap = answers.bootstrap;
this.filters.uibootstrap = answers.uibootstrap;
this.filters.bootstrap = !!answers.bootstrap;
this.filters.uibootstrap = !!answers.uibootstrap;
cb();
}.bind(this));
},
Expand Down

0 comments on commit a5decbc

Please sign in to comment.