We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3328157 + 9bfaebf commit 6304204Copy full SHA for 6304204
changelog/FmCD7dK1QHu5JV-IfSdRBw.md
@@ -0,0 +1,4 @@
1
+audience: developers
2
+level: patch
3
+---
4
+Fix usage of `temporary.writeFile` in `uploadToS3` for docker-worker
workers/docker-worker/src/upload_to_s3.js
@@ -50,7 +50,7 @@ module.exports = async function uploadToS3 (
50
// write the source out to a temporary file so that it can be
51
// re-read into the request repeatedly
52
if (typeof source === 'string') {
53
- await tmp.writeFile(source);
+ tmp.writeFileSync(source);
54
hash.update(source);
55
} else {
56
let stream = fs.createWriteStream(tmp.path);
0 commit comments