diff --git a/lib/modules/swarm/index.js b/lib/modules/swarm/index.js index 130ff9d8..8c353170 100644 --- a/lib/modules/swarm/index.js +++ b/lib/modules/swarm/index.js @@ -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,