[fix] Fix my own sloppy coding fixing the sloppy coding from #76.
This commit is contained in:
parent
5502f2cf98
commit
8d5fb25701
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ var Provider = exports.Provider = function (options) {
|
||||||
// in this instance
|
// in this instance
|
||||||
//
|
//
|
||||||
|
|
||||||
['add', 'env'].forEach(function (type) {
|
['argv', 'env'].forEach(function (type) {
|
||||||
Provider.prototype[type] = function () {
|
Provider.prototype[type] = function () {
|
||||||
var args = [type].concat(Array.prototype.slice.call(arguments));
|
var args = [type].concat(Array.prototype.slice.call(arguments));
|
||||||
return this.add.apply(this, args);
|
return this.add.apply(this, args);
|
||||||
|
|
Loading…
Reference in a new issue