change to ‘uploadDirectory’

This commit is contained in:
emizzle 2018-09-06 22:28:15 +10:00
parent 2dc8d8c276
commit 3f5fe21b90
1 changed files with 1 additions and 1 deletions

View File

@ -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) {