fis-command-release
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -118,3 +118,9 @@ /* | ||
prepareDeploy(task.dest, task.file, function(processor, dest, release, file, settings){ | ||
processor({to: dest.to, release: release}, file, dest, cb); | ||
processor({to: dest.to, release: release}, file, dest, function(){ | ||
//https://github.com/caolan/async/issues/75 | ||
//call async.parallelLimit with a sync function might cause Maximum call stack size exceeded | ||
setTimeout(function(){ | ||
cb && cb(); | ||
},0); | ||
}); | ||
}); | ||
@@ -121,0 +127,0 @@ }); |
{ | ||
"name": "fis-command-release", | ||
"description": "fis release command.", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"author": "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "http://fis.baidu.com/", |
@@ -146,8 +146,10 @@ /* | ||
} | ||
fis.util.merge(collection, ret.pkg) | ||
fis.util.merge(total, ret.pkg) | ||
fis.util.map(ret.pkg, function(subpath, file){ | ||
collection[subpath] = file; | ||
total[subpath] = file; | ||
}); | ||
deploy(opt, collection, total); | ||
collection = {}; | ||
total = {}; | ||
return; | ||
return; | ||
} | ||
@@ -154,0 +156,0 @@ }); |
58946
1518