Skip to content

Commit

Permalink
Prevent "too many open files" in artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed Jul 23, 2024
1 parent 1db7362 commit 65faef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/artifact/src/internal/upload/zip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function createZipUploadStream(
for (const file of uploadSpecification) {
if (file.sourcePath !== null) {
// Add a normal file to the zip
zip.append(createReadStream(file.sourcePath), {
zip.file(file.sourcePath, {
name: file.destinationPath
})
} else {
Expand Down

0 comments on commit 65faef4

Please sign in to comment.