win: fix VSCode manual update switch script #312

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 c27172c32e.
This commit is contained in:
undergroundwires
2024-03-20 08:38:23 +01:00
parent ec34ac1124
commit b71ad797a3

View File

@@ -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: