ignore macOS

This commit is contained in:
Sergey Vilgelm 2021-02-23 08:07:19 -06:00
parent 6850c86451
commit 85502d61d0
No known key found for this signature in database
GPG key ID: 08D0E2FF778887E6
3 changed files with 12 additions and 3 deletions

View file

@ -49251,7 +49251,10 @@ function installLint(versionConfig) {
}
else {
// We want to always overwrite files if the local cache already has them
const args = ["xz", "--overwrite"];
const args = ["xz"];
if (process.platform.toString() != "darwin") {
args.push("--overwrite");
}
extractedDir = yield tc.extractTar(archivePath, process.env.HOME, args);
}
const urlParts = assetURL.split(`/`);

5
dist/run/index.js vendored
View file

@ -49261,7 +49261,10 @@ function installLint(versionConfig) {
}
else {
// We want to always overwrite files if the local cache already has them
const args = ["xz", "--overwrite"];
const args = ["xz"];
if (process.platform.toString() != "darwin") {
args.push("--overwrite");
}
extractedDir = yield tc.extractTar(archivePath, process.env.HOME, args);
}
const urlParts = assetURL.split(`/`);

View file

@ -46,7 +46,10 @@ export async function installLint(versionConfig: VersionConfig): Promise<string>
repl = /\.zip$/
} else {
// We want to always overwrite files if the local cache already has them
const args = ["xz", "--overwrite"]
const args = ["xz"]
if (process.platform.toString() != "darwin") {
args.push("--overwrite")
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args)
}