From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/yargs/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'node_modules/yargs/index.js') 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 { -- cgit v1.2.3