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

Commit

Permalink
fix: callback with error
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Nov 7, 2019
1 parent 044b238 commit 6a5fbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ exports.getIPFS = (argv, callback) => {
err.message = 'Incompatible repo version. Migration needed. Pass --migrate for automatic migration'
}

callback(null, node, cleanup)
callback(err)
})

node.once('ready', () => {
Expand Down

0 comments on commit 6a5fbc8

Please sign in to comment.