node-automator 1.3.7 → 1.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,7 +157,7 @@ class AliOssCommand extends BaseCommand {
157
157
  });
158
158
  queueAsync(tasks, concurrency, (done, total, index, indexDone) => {
159
159
  const src = srcs[index];
160
- if (done) {
160
+ if (indexDone) {
161
161
  // 当前上传的,存储为 hash
162
162
  let dst = path.join(dst_folder, path.relative(base, src)).replace(/\\/g, "/")
163
163
  cachedFiles[dst] = crypto.createHash("md5").update(readFileSync(src)).digest("hex");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-automator",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Execute automation with yaml configuration(compatible with json)",
5
5
  "main": "index.js",
6
6
  "repository": {