mirror of https://github.com/embarklabs/embark.git
register ipfs cmd correctly
This commit is contained in:
parent
4aa33935b0
commit
b3173c1ff3
|
@ -117,7 +117,7 @@ class IPFS {
|
||||||
|
|
||||||
addIpfsObjectToConsole() {
|
addIpfsObjectToConsole() {
|
||||||
let ipfs = IpfsApi(this.storageConfig.host, this.storageConfig.port);
|
let ipfs = IpfsApi(this.storageConfig.host, this.storageConfig.port);
|
||||||
RunCode.doEval("", {ipfs: ipfs});
|
this.events.emit("runcode:register", "ipfs", ipfs);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue