From b71ad797a3af0db45143249903cb5e178692de7c Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Wed, 20 Mar 2024 08:38:23 +0100 Subject: [PATCH] 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 c27172c32e7c316b7cb0f44cab611eed89ca034e. --- src/application/collections/windows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/collections/windows.yaml b/src/application/collections/windows.yaml index f31240e7..4f802a8f 100644 --- a/src/application/collections/windows.yaml +++ b/src/application/collections/windows.yaml @@ -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: