Skip to content

Commit 3b67d13

Browse files
authored
push: add drain event handler for tar file to be extracted (#66)
1 parent 3135484 commit 3b67d13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

push/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ if (!(await file(tarFile).exists())) {
7777
rej(err);
7878
return;
7979
}
80-
80+
});
81+
extract.once("drain", () => {
8182
res();
8283
});
8384
});

0 commit comments

Comments
 (0)