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
Alan Shaw authored Nov 7, 2019
1 parent ecff7d7 commit 8c842c2
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 8c842c2

Please sign in to comment.