[macOS] added quotes (#2316)

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
This commit is contained in:
Leonid Lapshin
2020-12-28 11:26:03 +03:00
committed by GitHub
parent dd12c1ae21
commit 44ca8038b2

View File

@@ -81,7 +81,7 @@ function Get-ClangLLVMVersion {
$locationsList | Foreach-Object { $locationsList | Foreach-Object {
(Run-Command "${_} --version" | Out-String) -match "(?<version>\d+\.\d+\.\d+)" | Out-Null (Run-Command "${_} --version" | Out-String) -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
$version = $Matches.version $version = $Matches.version
"Clang/LLVM $version " + $(if(${_} -Match "brew") {"is available on ``${_}``"} else {"is default"}) "Clang/LLVM $version " + $(if(${_} -Match "brew") {"is available on ```'${_}`'``"} else {"is default"})
} }
} }