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

Commit

Permalink
fix: fix block rm command (#1576)
Browse files Browse the repository at this point in the history
On the command line `block rm` failed.
  • Loading branch information
vmx authored and Alan Shaw committed Sep 18, 2018
1 parent f350cb2 commit af30ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/block/rm.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
throw new Error('rm block with daemon running is not yet implemented')
}

argv.ipfs.block.del(mh.fromB58String(argv.key), (err) => {
argv.ipfs.block.rm(mh.fromB58String(argv.key), (err) => {
if (err) {
throw err
}
Expand Down

0 comments on commit af30ea5

Please sign in to comment.