Skip to content

Commit aa8d72b

Browse files
committed
fix: ipfs-repo is not a devDependency
1 parent dbe6b37 commit aa8d72b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"hapi": "^16.6.2",
7171
"hat": "0.0.3",
7272
"ipfs-api": "^17.2.5",
73+
"ipfs-repo": "^0.18.5",
7374
"joi": "^13.0.2",
7475
"lodash.clone": "^4.5.0",
7576
"lodash.defaultsdeep": "^4.6.0",
@@ -91,7 +92,6 @@
9192
"dirty-chai": "^2.0.1",
9293
"go-ipfs-dep": "0.4.13",
9394
"ipfs": "^0.27.5",
94-
"ipfs-repo": "^0.18.5",
9595
"is-running": "1.0.5",
9696
"mkdirp": "^0.5.1",
9797
"pre-commit": "^1.2.2",

src/daemon-ctrl.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ class DaemonController {
8181
* - `disposable` bool - a new repo is created and initialized for each invocation
8282
* - `config` - ipfs configuration options
8383
* - `args` - array of cmd line arguments to be passed to ipfs daemon
84-
* - `exec` - path to the desired IPFS executable to spawn
84+
* - `exec` string (optional) - path to the desired IPFS executable to spawn,
85+
* this will override the `exec` set when creating the daemon controller factory instance
8586
*
8687
* @param {Object} [opts={}] - various config options and ipfs config parameters
8788
* @param {Function} callback(err, [`ipfs-api instance`, `Node (ctrl) instance`]) - a callback that receives an array with an `ipfs-instance` attached to the node and a `Node`

0 commit comments

Comments
 (0)