mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
switch to Get-CommandResult (#1785)
This commit is contained in:
@@ -248,5 +248,6 @@ function Get-AptPackages {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-PipxVersion {
|
function Get-PipxVersion {
|
||||||
return "Pipx $(pipx --version 2> $null)"
|
$result = (Get-CommandResult "pipx --version").Output
|
||||||
|
return "Pipx $result"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user