mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-21 04:38:49 +00:00
Fix scope of the callback
This commit is contained in:
parent
444c504061
commit
72c4fe7624
@ -93,9 +93,9 @@ class Swarm {
|
||||
return storageProcessesLauncher.launchProcess('swarm', callback);
|
||||
}
|
||||
|
||||
registerUploadCommand(cb) {
|
||||
registerUploadCommand() {
|
||||
const self = this;
|
||||
this.embark.registerUploadCommand('swarm', () => {
|
||||
this.embark.registerUploadCommand('swarm', (cb) => {
|
||||
let upload_swarm = new UploadSwarm({
|
||||
buildDir: self.buildDir || 'dist/',
|
||||
storageConfig: self.storageConfig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user