Skip to content

Commit

Permalink
fix(gen): heroku and openshift generators requiring .yo-rc file to work
Browse files Browse the repository at this point in the history
closes #318
  • Loading branch information
DaftMonk committed Jul 9, 2014
1 parent 7d56eda commit 88ebfc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion heroku/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var Generator = module.exports = function Generator() {
this.appname = path.basename(process.cwd());
}
this.appname = this._.slugify(this.appname);
this.filters = this.config.get('filters');
this.filters = this.config.get('filters') || {};
};

util.inherits(Generator, yeoman.generators.NamedBase);
Expand Down
2 changes: 1 addition & 1 deletion openshift/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var Generator = module.exports = function Generator() {
this.appname = path.basename(process.cwd());
}
this.appname = this._.slugify(this.appname).split('-').join('');
this.filters = this.config.get('filters');
this.filters = this.config.get('filters') || {};
};

util.inherits(Generator, yeoman.generators.NamedBase);
Expand Down

0 comments on commit 88ebfc8

Please sign in to comment.