mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
[macos] Fix composer version parser (#9585)
This commit is contained in:
committed by
GitHub
parent
07d23cf65f
commit
e11c4abc89
@@ -260,7 +260,7 @@ function Get-RubyGemsVersion {
|
||||
}
|
||||
|
||||
function Get-ComposerVersion {
|
||||
$composerVersion = Run-Command "composer --version" | Take-Part -Part 2
|
||||
$composerVersion = Run-Command "composer --version" | Select-Object -First 1 | Take-Part -Part 2
|
||||
return $composerVersion
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user