Refactor removal of configuration values

This commit is contained in:
Manuel Thalmann 2023-06-30 04:34:40 +02:00
parent 24466aef7a
commit 5d0b77035f

View file

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