diff options
Diffstat (limited to 'deps/npm/node_modules/libnpx/node_modules/yargs/index.js')
-rw-r--r-- | deps/npm/node_modules/libnpx/node_modules/yargs/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/node_modules/libnpx/node_modules/yargs/index.js b/deps/npm/node_modules/libnpx/node_modules/yargs/index.js index dfed54bc51..37450cf7a6 100644 --- a/deps/npm/node_modules/libnpx/node_modules/yargs/index.js +++ b/deps/npm/node_modules/libnpx/node_modules/yargs/index.js @@ -1,4 +1,3 @@ -'use strict' // classic singleton yargs API, to use yargs // without running as a singleton do: // require('yargs/yargs')(process.argv.slice(2)) @@ -22,7 +21,7 @@ function Argv (processArgs, cwd) { to get a parsed version of process.argv. */ function singletonify (inst) { - Object.keys(inst).forEach((key) => { + Object.keys(inst).forEach(function (key) { if (key === 'argv') { Argv.__defineGetter__(key, inst.__lookupGetter__(key)) } else { |