Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Jun 19, 2023
1 parent f6ce85d commit b54b00d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/dist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export async function makeZip(target, source) {
});
const done = pipe(archive, createWriteStream(target));
archive.directory(source, false);
archive.finalize();
await done;
await Promise.all([archive.finalize(), done]);
}

export async function makeTgz(target, source) {
Expand Down

0 comments on commit b54b00d

Please sign in to comment.