Skip to content

Commit ec9c448

Browse files
committedNov 25, 2016
Remove legacy files functions
1 parent 49ce5f3 commit ec9c448

25 files changed

+10
-623
lines changed
 

‎lib/actions/actions.js

-202
This file was deleted.

‎lib/actions/install.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ var install = module.exports;
1414
/**
1515
* Combine package manager cmd line arguments and run the `install` command.
1616
*
17-
* During the `install` step, every command will be scheduled to run once, on the run loop. (So don't combine the callback with `this.async()`)
17+
* During the `install` step, every command will be scheduled to run once, on the
18+
* run loop. (So don't combine the callback with `this.async()`)
1819
*
1920
* @param {String} installer Which package manager to use
2021
* @param {String|Array} [paths] Packages to install.Use an empty string for `npm install`

‎lib/base.js

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ var debug = require('debug')('yeoman:generator');
3030
* Every generator should extend this base class.
3131
*
3232
* @constructor
33-
* @mixes actions/actions
3433
* @mixes actions/install
3534
* @mixes actions/spawn_command
3635
* @mixes actions/user
@@ -168,7 +167,6 @@ var Base = module.exports = function Base(args, options) {
168167
util.inherits(Base, events.EventEmitter);
169168

170169
// Mixin the actions modules
171-
_.extend(Base.prototype, require('./actions/actions'));
172170
_.extend(Base.prototype, require('./actions/install'));
173171
_.extend(Base.prototype, require('./actions/help'));
174172
_.extend(Base.prototype, require('./actions/spawn_command'));

0 commit comments

Comments
 (0)
Please sign in to comment.