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

@@ -385,12 +385,12 @@ function Get-HelmVersion {
function Get-MongoVersion {
$mongo = Run-Command "mongo --version" | Select-String "MongoDB shell version" | Take-Part -Part 3
return $mongo
return $mongo.TrimStart("v").Trim()
}
function Get-MongodVersion {
$mongod = Run-Command "mongod --version" | Select-String "db version " | Take-Part -Part 2
return $mongod
return $mongod.TrimStart("v").Trim()
}
function Get-7zipVersion {