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

Commit af30ea5

Browse files
vmxAlan Shaw
authored andcommitted
fix: fix block rm command (#1576)
On the command line `block rm` failed.
1 parent f350cb2 commit af30ea5

File tree

1 file changed

+1
-1
lines changed
  • src/cli/commands/block

1 file changed

+1
-1
lines changed

src/cli/commands/block/rm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
throw new Error('rm block with daemon running is not yet implemented')
1818
}
1919

20-
argv.ipfs.block.del(mh.fromB58String(argv.key), (err) => {
20+
argv.ipfs.block.rm(mh.fromB58String(argv.key), (err) => {
2121
if (err) {
2222
throw err
2323
}

0 commit comments

Comments
 (0)