diff --git a/lib/modules/swarm/upload.js b/lib/modules/swarm/upload.js index 8e3e5aa30..daadc8d17 100644 --- a/lib/modules/swarm/upload.js +++ b/lib/modules/swarm/upload.js @@ -16,7 +16,7 @@ class Swarm { async.waterfall([ function runCommand(callback) { console.log(("=== " + __("adding %s to swarm", self.buildDir)).green); - swarm.putDirectory(self.buildDir, callback); + swarm.uploadDirectory(self.buildDir, callback); }, function printUrls(dir_hash, callback) { if (!dir_hash) {