Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e57a965

Browse files
committedJan 15, 2021
fix for issue #3131 in regards to brew discarding cask as an option
1 parent e8c7ca0 commit e57a965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/features/UpdatePowerShell.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ export async function InvokePowerShellUpdateCheck(
173173

174174
} else if (isMacOS) {
175175
const script = release.isPreview
176-
? "brew cask upgrade powershell-preview"
177-
: "brew cask upgrade powershell";
176+
? "brew upgrade --cask powershell-preview"
177+
: "brew upgrade --cask powershell";
178178

179179
await languageServerClient.sendRequest(EvaluateRequestType, {
180180
expression: script,

0 commit comments

Comments
 (0)
Please sign in to comment.