@sentinelqa/uploader 0.1.3 → 0.1.5
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/dist/cli.js +3 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -484,7 +484,9 @@ const main = async () => {
|
|
|
484
484
|
headers: {
|
|
485
485
|
"content-type": artifact.contentType
|
|
486
486
|
},
|
|
487
|
-
body
|
|
487
|
+
body,
|
|
488
|
+
// Required by Node.js fetch when streaming a request body
|
|
489
|
+
duplex: "half"
|
|
488
490
|
});
|
|
489
491
|
if (!res.ok) {
|
|
490
492
|
throw new Error(`Upload failed (${res.status}) for ${artifact.objectKey}`);
|