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