make macos workaround silent

This commit is contained in:
Arpad Borsos 2020-09-28 12:46:36 +02:00
parent ef89c3a8eb
commit 08ca2ff969
2 changed files with 2 additions and 2 deletions

2
dist/save/index.js vendored
View File

@ -54888,7 +54888,7 @@ async function macOsWorkaround() {
try {
// Workaround for https://github.com/actions/cache/issues/403
// Also see https://github.com/rust-lang/cargo/issues/8603
await exec.exec("sudo", ["/usr/sbin/purge"]);
await exec.exec("sudo", ["/usr/sbin/purge"], { silent: true });
}
catch (_a) { }
}

View File

@ -145,6 +145,6 @@ async function macOsWorkaround() {
try {
// Workaround for https://github.com/actions/cache/issues/403
// Also see https://github.com/rust-lang/cargo/issues/8603
await exec.exec("sudo", ["/usr/sbin/purge"]);
await exec.exec("sudo", ["/usr/sbin/purge"], { silent: true });
} catch {}
}