fix swarm upload cmd registration

This commit is contained in:
Iuri Matias 2018-07-11 10:27:54 +03:00
parent 29161b18a9
commit 97af8aff11

View File

@ -95,7 +95,7 @@ class Swarm {
registerUploadCommand(cb) { registerUploadCommand(cb) {
const self = this; const self = this;
this.embark.registerUploadCommand('ipfs', () => { this.embark.registerUploadCommand('swarm', () => {
let upload_swarm = new UploadSwarm({ let upload_swarm = new UploadSwarm({
buildDir: self.buildDir || 'dist/', buildDir: self.buildDir || 'dist/',
storageConfig: self.storageConfig, storageConfig: self.storageConfig,