Fix incorrect function call

This commit is contained in:
Manuel Thalmann 2023-06-30 02:40:15 +02:00
parent b6a4b41d1a
commit 52008c5eb7

View file

@ -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) {