From 1496513c2fcde0e6e30b2ac6108e0978462c6b94 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 30 Jun 2023 02:40:15 +0200 Subject: [PATCH] Fix incorrect function call --- scripts/Windows/Scripts/Context.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 4125e994..8187073c 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -53,7 +53,7 @@ class Context { [void] Set([string] $key, $value, [Microsoft.Win32.RegistryValueKind] $type) { $configKey = $this.EnsureConfigKey(); - $null = Set-ItemProperty -Path $configKey.PSPath -Value $value -Type $type; + $null = Set-ItemProperty -Path $configKey.PSPath -Name $key -Value $value -Type $type; } [void] Remove([string] $key) {