Skip to content

Commit

Permalink
Keep description value if provided before calling super method
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 6, 2015
1 parent 566ab33 commit cbbf035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ var Base = module.exports = function Base(args, options) {
this.env = this.options.env;
this.resolved = this.options.resolved;

// Ensure the environment support features this yeoman-generator version require.
require('yeoman-environment').enforceUpdate(this.env);

this.description = '';
this.description = this.description || '';

this.async = function () {
return function () {};
Expand Down

0 comments on commit cbbf035

Please sign in to comment.