mirror of https://github.com/aminya/setup-cpp
fix: pass -y to 7z for extraction
This commit is contained in:
parent
3526010570
commit
b1be34e87c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ let sevenZip: string | undefined
|
|||
|
||||
/// Extract 7z using 7z
|
||||
export async function extract7Zip(file: string, dest: string) {
|
||||
await execa(await getSevenZip(), ["x", file, `-o${dest}`], { stdio: "inherit" })
|
||||
await execa(await getSevenZip(), ["x", file, `-o${dest}`, "-y"], { stdio: "inherit" })
|
||||
return dest
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue