Skip to content

Commit

Permalink
fix(uploadToS3): stop writing zip file to disk
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Dec 5, 2021
1 parent 5ffd1fc commit 74bea41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ export async function uploadToS3({
process.stderr.write(`Uploading to s3://${Bucket}/${Key}...`)
upload.on('httpUploadProgress', () => process.stderr.write('.'))
await Promise.all([upload.done(), archive.finalize()])
archive.pipe(fs.createWriteStream(Path.join(packageDir, filename)))

process.stderr.write(`done\n`)

Expand Down

0 comments on commit 74bea41

Please sign in to comment.