Refactor removal of configuration values
This commit is contained in:
parent
50c5c727dd
commit
c90fd19b43
|
@ -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