Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
change let to var (#35)
Browse files Browse the repository at this point in the history
allow helpers to run on pre-6.0 node
  • Loading branch information
w33ble authored and spalger committed Feb 8, 2018
1 parent cc9d922 commit e5f6593
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = function enableCollectingUnknownOptions(command) {
var origParse = command.parseOptions;
command.allowUnknownOption();
command.parseOptions = function (argv) {
let opts = origParse.call(this, argv);
var opts = origParse.call(this, argv);
this.unknownOptions = opts.unknown;
return opts;
};
Expand Down

0 comments on commit e5f6593

Please sign in to comment.