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

Commit 6a5fbc8

Browse files
author
Alan Shaw
committed
fix: callback with error
1 parent 044b238 commit 6a5fbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ exports.getIPFS = (argv, callback) => {
6565
err.message = 'Incompatible repo version. Migration needed. Pass --migrate for automatic migration'
6666
}
6767

68-
callback(null, node, cleanup)
68+
callback(err)
6969
})
7070

7171
node.once('ready', () => {

0 commit comments

Comments
 (0)