Skip to content

Commit

Permalink
win: fix VSCode manual update switch script #312
Browse files Browse the repository at this point in the history
This commit addresses a regression from refactoring in #215.

It restores YAML escape mechanism with quoting around 'manual' in the
`powerShellValue` attribute to ensure PowerShell interprets the value
correctly.

This change is documented with a comment to avoid future omissions.

This reverts commit c27172c.
  • Loading branch information
undergroundwires committed Mar 20, 2024
1 parent ec34ac1 commit b71ad79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/collections/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,7 @@ actions:
function: SetVsCodeSetting
parameters:
setting: update.mode
powerShellValue: manual
powerShellValue: "'manual'" # The double quotes around 'manual' is important for PowerShell to correctly interpret the value.
-
name: Disable fetching release notes from Microsoft servers after an update
call:
Expand Down

0 comments on commit b71ad79

Please sign in to comment.