aboutsummaryrefslogtreecommitdiff
path: root/node_modules/yargs/index.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/yargs/index.js
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
upgrade dependencies
Diffstat (limited to 'node_modules/yargs/index.js')
-rw-r--r--node_modules/yargs/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/yargs/index.js b/node_modules/yargs/index.js
index 37450cf7a..dfed54bc5 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 {