Ignore inexistent program configurations

This commit is contained in:
Manuel Thalmann 2024-10-15 23:29:00 +02:00
parent 3161f3071b
commit 189435fe8b

View file

@ -205,7 +205,11 @@ $null = New-Module {
$Name
)
return (Get-ProgramConfig @PSBoundParameters).enable;
try {
(Get-ProgramConfig @PSBoundParameters).enable;
} catch {
$false;
}
}
<#