From 0d2c08f9e6e19dfb03722761e1b92ab57449d90e Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Tue, 20 Nov 2018 09:46:33 +0000 Subject: [PATCH] chore: upgrade yargs --- package.json | 2 +- src/cli/commands/pin/add.js | 1 - src/cli/commands/pin/ls.js | 1 - src/cli/commands/pin/rm.js | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 4656f5a2f0..3ad9ba9c28 100644 --- a/package.json +++ b/package.json @@ -173,8 +173,8 @@ "tar-stream": "^1.6.2", "temp": "~0.8.3", "update-notifier": "^2.5.0", - "yargs": "^12.0.2", "varint": "^5.0.0", + "yargs": "^12.0.5", "yargs-promise": "^1.1.0" }, "optionalDependencies": { diff --git a/src/cli/commands/pin/add.js b/src/cli/commands/pin/add.js index 011cf97688..bfb0a0b9a3 100644 --- a/src/cli/commands/pin/add.js +++ b/src/cli/commands/pin/add.js @@ -8,7 +8,6 @@ module.exports = { describe: 'Pins object to local storage.', builder: { - 'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151 recursive: { type: 'boolean', alias: 'r', diff --git a/src/cli/commands/pin/ls.js b/src/cli/commands/pin/ls.js index 6424903cc2..a59958942d 100644 --- a/src/cli/commands/pin/ls.js +++ b/src/cli/commands/pin/ls.js @@ -9,7 +9,6 @@ module.exports = { describe: 'List objects pinned to local storage.', builder: { - 'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151 type: { type: 'string', alias: 't', diff --git a/src/cli/commands/pin/rm.js b/src/cli/commands/pin/rm.js index d0c9030489..acbadf8a96 100644 --- a/src/cli/commands/pin/rm.js +++ b/src/cli/commands/pin/rm.js @@ -8,7 +8,6 @@ module.exports = { describe: 'Removes the pinned object from local storage.', builder: { - 'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151 recursive: { type: 'boolean', alias: 'r',