We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1d099 commit 5a476fbCopy full SHA for 5a476fb
src/cp.ts
@@ -28,7 +28,7 @@ export class Cp {
28
): Promise<void> {
29
const tmpFile = tmp.fileSync();
30
const tmpFileName = tmpFile.name;
31
- const command = ['tar', 'cf', '-', srcPath];
+ const command = ['tar', 'zcf', '-', srcPath];
32
const writerStream = fs.createWriteStream(tmpFileName);
33
const errStream = new WritableStreamBuffer();
34
this.execInstance.exec(
0 commit comments