fix: binary installation for FreeBSD (#1415)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
biancalana
2026-08-21 01:51:25 +02:00
committed by GitHub
co-authored by Fernandez Ludovic
parent c3ef4a2b0b
commit 3de4be9e74
3 changed files with 3 additions and 3 deletions
Generated Vendored
+1 -1
View File
@@ -69112,7 +69112,7 @@ async function installBin(versionInfo) {
else {
// We want to always overwrite files if the local cache already has them
const args = ["xz"];
if (process.platform.toString() != "darwin") {
if (!["darwin", "freebsd"].includes(process.platform.toString())) {
args.push("--overwrite");
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args);
Generated Vendored
+1 -1
View File
@@ -69112,7 +69112,7 @@ async function installBin(versionInfo) {
else {
// We want to always overwrite files if the local cache already has them
const args = ["xz"];
if (process.platform.toString() != "darwin") {
if (!["darwin", "freebsd"].includes(process.platform.toString())) {
args.push("--overwrite");
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args);
+1 -1
View File
@@ -145,7 +145,7 @@ async function installBin(versionInfo: VersionInfo): Promise<string> {
} else {
// We want to always overwrite files if the local cache already has them
const args = ["xz"]
if (process.platform.toString() != "darwin") {
if (!["darwin", "freebsd"].includes(process.platform.toString())) {
args.push("--overwrite")
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args)