knox-mpu-alt
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -201,3 +201,3 @@ var _ = require('lodash'), | ||
var partId = parts.length + 1, | ||
partFileName = path.resolve(path.join(mpu.tmpDir || '', 'mpu-' + mpu.objectName + '-' + random_seed() + '-' + (mpu.uploadId || Date.now()) + '-' + partId)), | ||
partFileName = path.resolve(path.join(mpu.tmpDir || '', ('mpu-' + mpu.objectName + '-' + random_seed() + '-' + (mpu.uploadId || Date.now()) + '-' + partId).replace(/\//g,''))), | ||
partFile = !mpu.noDisk && fs.createWriteStream(partFileName), | ||
@@ -366,4 +366,5 @@ part = { | ||
mpu.emit('failed', result, written); | ||
if (--part.triesLeft) | ||
if (--part.triesLeft) { | ||
return MultiPartUpload.prototype._uploadPart.call(mpu, part, callback); | ||
} | ||
else { | ||
@@ -370,0 +371,0 @@ // Make sure the callback is only called once |
{ | ||
"name": "knox-mpu-alt", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Provide multi part upload functionality to Amazon S3 using the knox library. Forked from knox-mpu.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32285
554