mirror of https://github.com/aminya/setup-cpp
fix: overwrite and cask are mutually exclusive
This commit is contained in:
parent
5a68a08a86
commit
286daf2183
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,7 @@ export async function setupPowershell(version: string | undefined, _setupDir: st
|
|||
return { binDir }
|
||||
}
|
||||
case "darwin": {
|
||||
return setupBrewPack("powershell", version, { cask: true })
|
||||
return setupBrewPack("powershell", version, { cask: true, overwrite: false })
|
||||
}
|
||||
case "linux": {
|
||||
if (isArch()) {
|
||||
|
|
Loading…
Reference in New Issue