fix swarm upload cmd registration
This commit is contained in:
parent
7c0c2550c3
commit
f9f25f33c8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue