mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-17 08:07:51 +00:00
fix swarm upload cmd registration
This commit is contained in:
parent
29161b18a9
commit
97af8aff11
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user