Polish macOS and Linux docs (#6827)

This commit is contained in:
Maxim Lobanov
2022-12-23 09:38:33 +01:00
committed by GitHub
parent 86751fa022
commit b94d2687f8
3 changed files with 5 additions and 5 deletions

View File

@@ -285,6 +285,6 @@ function Get-ZstdVersion {
}
function Get-YqVersion {
$yqVersion = ($(yq -V) -Split " ")[-1]
return $yqVersion
$yqVersion = $(yq -V) | Take-OutputPart -Part 3
return $yqVersion.TrimStart("v").Trim()
}