Commit a141a695 authored by nano's avatar nano

untar

parent 7671aec3
......@@ -81,7 +81,7 @@ export function archive(archive: string, files: string[], directory: string): Pr
export function untar(archive: string, directory: string): Promise<void> {
return new Promise<void>((resolve, reject) => {
let child = child_process.spawn('tar', ['-xvf', archive, '-C', directory], {stdio: 'inherit'});
let child = child_process.spawn('tar', ['-xf', archive, '-C', directory], {stdio: 'inherit'});
child.on('exit', (code) => {
if (code == 0) {
resolve();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment