Fix incorrect function call
This commit is contained in:
parent
33b6bca4dd
commit
1496513c2f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue