Ignore inexistent program configurations
This commit is contained in:
parent
3161f3071b
commit
189435fe8b
|
@ -205,7 +205,11 @@ $null = New-Module {
|
||||||
$Name
|
$Name
|
||||||
)
|
)
|
||||||
|
|
||||||
return (Get-ProgramConfig @PSBoundParameters).enable;
|
try {
|
||||||
|
(Get-ProgramConfig @PSBoundParameters).enable;
|
||||||
|
} catch {
|
||||||
|
$false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
Loading…
Reference in a new issue