fix: overwrite and cask are mutually exclusive

This commit is contained in:
Amin Yahyaabadi 2024-08-20 15:34:12 -07:00
parent 5a68a08a86
commit 286daf2183
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
7 changed files with 7 additions and 7 deletions

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

View File

@ -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()) {