mirror of https://github.com/embarklabs/embark.git
change to ‘uploadDirectory’
This commit is contained in:
parent
2dc8d8c276
commit
3f5fe21b90
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue