Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 7634d3e

Browse files
committed
fix: add dash case to pin cli
1 parent e849dbc commit 7634d3e

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/cli/commands/pin/add.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
describe: 'Pins object to local storage.',
99

1010
builder: {
11+
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
1112
recursive: {
1213
type: 'boolean',
1314
alias: 'r',

src/cli/commands/pin/ls.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
describe: 'List objects pinned to local storage.',
1010

1111
builder: {
12+
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
1213
type: {
1314
type: 'string',
1415
alias: 't',

src/cli/commands/pin/rm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
describe: 'Removes the pinned object from local storage.',
99

1010
builder: {
11+
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
1112
recursive: {
1213
type: 'boolean',
1314
alias: 'r',

test/cli/pin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const pins = {
1818
mercuryWiki: 'QmVgSHAdMxFAuMP2JiMAYkB8pCWP1tcB9djqvq8GKAFiHi'
1919
}
2020

21-
describe('pin', () => runOnAndOff(thing => {
21+
describe.only('pin', () => runOnAndOff(thing => {
2222
let ipfs
2323

2424
before(function () {

0 commit comments

Comments
 (0)