fix(ci): tolerate missing client CLIs
CI / Capabilities and shell quality (push) Canceled after 0s
CI / Python tests and compilation (push) Canceled after 0s
CI / PowerShell tests on Ubuntu (push) Canceled after 0s
CI / Build and inspect generated packages (push) Canceled after 0s
CI / Bash integration and installation guards (push) Canceled after 0s
CI / Installed client configuration smoke tests (push) Canceled after 0s
CI / Qwen retrieval integration (push) Canceled after 0s
CI / CI configuration security checks (push) Canceled after 0s
CI / Capabilities and shell quality (push) Canceled after 0s
CI / Python tests and compilation (push) Canceled after 0s
CI / PowerShell tests on Ubuntu (push) Canceled after 0s
CI / Build and inspect generated packages (push) Canceled after 0s
CI / Bash integration and installation guards (push) Canceled after 0s
CI / Installed client configuration smoke tests (push) Canceled after 0s
CI / Qwen retrieval integration (push) Canceled after 0s
CI / CI configuration security checks (push) Canceled after 0s
This commit is contained in:
1 parent
632afdf6b4
commit
fedbc32e71
1 file changed
+2
-1
@@ -39,7 +39,8 @@ function Get-InstalledPlugins {
|
|||||||
[ValidateSet('Claude','Codex')][string]$Client,
|
[ValidateSet('Claude','Codex')][string]$Client,
|
||||||
[string]$HomePath = [Environment]::GetFolderPath('UserProfile')
|
[string]$HomePath = [Environment]::GetFolderPath('UserProfile')
|
||||||
)
|
)
|
||||||
$command = Get-Command $Client.ToLowerInvariant() -ErrorAction Stop
|
$command = Get-Command $Client.ToLowerInvariant() -ErrorAction SilentlyContinue
|
||||||
|
if (-not $command) { return @() }
|
||||||
$environment = @{
|
$environment = @{
|
||||||
HOME = $HomePath
|
HOME = $HomePath
|
||||||
USERPROFILE = $HomePath
|
USERPROFILE = $HomePath
|
||||||
|
|||||||
Reference in new issue
Block a user