From b3173c1ff392df265d9a05ad1033347ea0b61fba Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 30 May 2018 17:22:12 -0400 Subject: [PATCH] register ipfs cmd correctly --- lib/modules/ipfs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/ipfs/index.js b/lib/modules/ipfs/index.js index bccd839c..458be7ef 100644 --- a/lib/modules/ipfs/index.js +++ b/lib/modules/ipfs/index.js @@ -117,7 +117,7 @@ class IPFS { addIpfsObjectToConsole() { let ipfs = IpfsApi(this.storageConfig.host, this.storageConfig.port); - RunCode.doEval("", {ipfs: ipfs}); + this.events.emit("runcode:register", "ipfs", ipfs); } }