mirror of https://github.com/aminya/setup-cpp
fix: suppress the file name printing in unzip
This commit is contained in:
parent
ed70b16a4c
commit
8ffde703f2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -92,7 +92,7 @@ export function extractExe(file: string, dest: string) {
|
|||
export async function extractZip(file: string, dest: string) {
|
||||
// if unzip is available use it
|
||||
if (which.sync("unzip", { nothrow: true }) !== null) {
|
||||
await execa("unzip", [file, "-d", dest], { stdio: "inherit" })
|
||||
await execa("unzip", ["-q", file, "-d", dest], { stdio: "inherit" })
|
||||
await grantUserWriteAccess(dest)
|
||||
return dest
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue