Skip to content

Commit

Permalink
possible fix for issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ndxbxrme committed Jan 18, 2016
1 parent 71822d9 commit 9f4fc2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@
this.filters.appname = this.appname + 'App';
this.filters.projectname = this.config.get('appname');
this.filters.modules = '\'' + (this.filters.js ? angularModules.join('\',\n \'') : angularModules.join('\'\n \'')) + '\'';
this.filters.usedBower = this.filters.bower === true;
this.filters.bower = false;
this.config.set('filters', this.filters);
this.sourceRoot(path.join(__dirname, './templates/' + this.filters.framework));
genUtils.write(this, this.filters);
},
Expand Down
3 changes: 3 additions & 0 deletions src/app/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ module.exports = yeoman.generators.Base.extend(
@filters.appname = @appname + 'App'
@filters.projectname = @config.get('appname')
@filters.modules = '\'' + (if @filters.js then angularModules.join('\',\n \'') else angularModules.join('\'\n \'')) + '\''
@filters.usedBower = @filters.bower is true
@filters.bower = false #fix for issue #3
@config.set 'filters', @filters
@sourceRoot path.join(__dirname, './templates/' + @filters.framework)
genUtils.write this, @filters
return
Expand Down

0 comments on commit 9f4fc2e

Please sign in to comment.