From 97af8aff11f453c26e2c305acad414337ad0b7b1 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 11 Jul 2018 10:27:54 +0300 Subject: [PATCH] fix swarm upload cmd registration --- lib/modules/swarm/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/swarm/index.js b/lib/modules/swarm/index.js index 00f3076e..130ff9d8 100644 --- a/lib/modules/swarm/index.js +++ b/lib/modules/swarm/index.js @@ -95,7 +95,7 @@ class Swarm { registerUploadCommand(cb) { const self = this; - this.embark.registerUploadCommand('ipfs', () => { + this.embark.registerUploadCommand('swarm', () => { let upload_swarm = new UploadSwarm({ buildDir: self.buildDir || 'dist/', storageConfig: self.storageConfig,