@nger/fk-upload 1.0.120 → 1.0.121

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.
@@ -130,10 +130,6 @@ let FkService = class FkService {
130
130
  let index = task.index || 0;
131
131
  do {
132
132
  let start = index * task.splitSize;
133
- console.log(`upload ----- `, { index, max, start });
134
- if (start >= max) {
135
- break;
136
- }
137
133
  let _end = start + task.splitSize - 1;
138
134
  let end = _end > max ? max : _end;
139
135
  if (end >= max) {
@@ -168,6 +164,7 @@ let FkService = class FkService {
168
164
  }).catch(async (e) => {
169
165
  throw e;
170
166
  });
167
+ console.log(`upload ----- `, { index, max, start, end, uploadResult });
171
168
  if (!uploadResult) {
172
169
  complete = true;
173
170
  index = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.120",
3
+ "version": "1.0.121",
4
4
  "description": "",
5
5
  "main": "dist/core.js",
6
6
  "types": "dist/core.d.ts",