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 Apr 29, 2024
1 parent cce93c0 commit 5f62f1e
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.stats.isDirectory()) {
// Add a normal file to the zip
zip.append(createReadStream(file.sourcePath), {
zip.file(file.sourcePath, {
name: file.destinationPath,
stats: file.stats,
mode: file.stats.mode
Expand Down

0 comments on commit 5f62f1e

Please sign in to comment.