Skip to content

Commit 8ffde70

Browse files
committed
fix: suppress the file name printing in unzip
1 parent ed70b16 commit 8ffde70

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/setup/extract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export function extractExe(file: string, dest: string) {
9292
export async function extractZip(file: string, dest: string) {
9393
// if unzip is available use it
9494
if (which.sync("unzip", { nothrow: true }) !== null) {
95-
await execa("unzip", [file, "-d", dest], { stdio: "inherit" })
95+
await execa("unzip", ["-q", file, "-d", dest], { stdio: "inherit" })
9696
await grantUserWriteAccess(dest)
9797
return dest
9898
}

0 commit comments

Comments
 (0)