Skip to content

Commit 5a476fb

Browse files
authored
Update cp.ts
1 parent ff1d099 commit 5a476fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Cp {
2828
): Promise<void> {
2929
const tmpFile = tmp.fileSync();
3030
const tmpFileName = tmpFile.name;
31-
const command = ['tar', 'cf', '-', srcPath];
31+
const command = ['tar', 'zcf', '-', srcPath];
3232
const writerStream = fs.createWriteStream(tmpFileName);
3333
const errStream = new WritableStreamBuffer();
3434
this.execInstance.exec(

0 commit comments

Comments
 (0)