Skip to content

Commit

Permalink
Merge pull request #780 from qiu8310/bug/deprecate_object
Browse files Browse the repository at this point in the history
Fix deprecate bug
  • Loading branch information
SBoudrias committed Mar 31, 2015
2 parents 9a8cf1d + 2755b72 commit 8f3025d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base.js
Expand Up @@ -194,7 +194,7 @@ Base.prototype.spawnCommand = require('./actions/spawn_command');
// DEPRECATED: Use the module directly
Base.prototype.welcome = deprecate(
'Generator#welcome() is deprecated. Instead, `require("yeoman-welcome")` directly.',
require('yeoman-welcome')
function () { console.log(require('yeoman-welcome')); }
);

/**
Expand Down

0 comments on commit 8f3025d

Please sign in to comment.