@nger/fk-upload 1.0.118 → 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,9 +130,6 @@ let FkService = class FkService {
|
|
130
130
|
let index = task.index || 0;
|
131
131
|
do {
|
132
132
|
let start = index * task.splitSize;
|
133
|
-
if (start >= max) {
|
134
|
-
break;
|
135
|
-
}
|
136
133
|
let _end = start + task.splitSize - 1;
|
137
134
|
let end = _end > max ? max : _end;
|
138
135
|
if (end >= max) {
|
@@ -167,6 +164,7 @@ let FkService = class FkService {
|
|
167
164
|
}).catch(async (e) => {
|
168
165
|
throw e;
|
169
166
|
});
|
167
|
+
console.log(`upload ----- `, { index, max, start, end, uploadResult });
|
170
168
|
if (!uploadResult) {
|
171
169
|
complete = true;
|
172
170
|
index = 0;
|