mirror of https://github.com/embarklabs/embark.git
fix swarm upload cmd registration
This commit is contained in:
parent
29161b18a9
commit
97af8aff11
|
@ -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