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

Commit d44421a

Browse files
author
Alan Shaw
committed
fix: remove unnecessary CID to string
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 1db010d commit d44421a

File tree

1 file changed

+1
-2
lines changed
  • src/cli/commands/pin

1 file changed

+1
-2
lines changed

src/cli/commands/pin/rm.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
const multibase = require('multibase')
44
const { print } = require('../../utils')
5-
const { cidToString } = require('../../../utils/cid')
65

76
module.exports = {
87
command: 'rm <ipfsPath...>',
@@ -27,7 +26,7 @@ module.exports = {
2726
ipfs.pin.rm(ipfsPath, { recursive, cidBase }, (err, results) => {
2827
if (err) { throw err }
2928
results.forEach((res) => {
30-
print(`unpinned ${cidToString(res.hash, argv.cidBase)}`)
29+
print(`unpinned ${res.hash}`)
3130
})
3231
})
3332
}

0 commit comments

Comments
 (0)