Skip to content

Commit

Permalink
fix: allow larger directories to be compressed, test in plugin-source (
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele authored Jun 16, 2022
1 parent 27dde16 commit ba713fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/metadataApiDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export class MetadataApiDeploy extends MetadataTransfer<MetadataApiDeployStatus,
const zip = createArchive('zip', { zlib: { level: 9 } });
// anywhere not at the root level is fine
zip.directory(this.options.mdapiPath, 'zip');
await zip.finalize();
void zip.finalize();
return stream2buffer(zip);
}
// read the zip into a buffer
Expand Down

0 comments on commit ba713fb

Please sign in to comment.