Refactor removal of configuration values
This commit is contained in:
parent
24466aef7a
commit
5d0b77035f
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class Context {
|
|||
|
||||
[void] Remove([string] $key) {
|
||||
$configKey = $this.EnsureConfigKey();
|
||||
$null = $configKey.DeleteValue($key);
|
||||
$null = Remove-ItemProperty -Path $configKey.PSPath -Name $key;
|
||||
}
|
||||
|
||||
[void] SetStage([string] $name) {
|
||||
|
|
Loading…
Reference in a new issue