@karpeleslab/klbfw 0.2.9 → 0.2.10
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.
- package/package.json +1 -1
- package/upload.js +1 -1
package/package.json
CHANGED
package/upload.js
CHANGED
|
@@ -694,7 +694,7 @@ module.exports.upload = (function () {
|
|
|
694
694
|
up.done = completedParts;
|
|
695
695
|
|
|
696
696
|
// Check if all parts are complete
|
|
697
|
-
if (pendingParts === 0) {
|
|
697
|
+
if (pendingParts === 0 && completedParts === up.blocks) {
|
|
698
698
|
// All parts complete, finalize the upload
|
|
699
699
|
up.status = "validating";
|
|
700
700
|
|