[macOS] do not list Xcode-install in sw report on OS13 (#8370)
This commit is contained in:
@@ -236,7 +236,9 @@ function Build-XcodeSupportToolsSection {
|
|||||||
$xcversion = Run-Command "xcversion --version" | Select-String "^[0-9]"
|
$xcversion = Run-Command "xcversion --version" | Select-String "^[0-9]"
|
||||||
|
|
||||||
$toolNodes += [ToolVersionNode]::new("xcpretty", $xcpretty)
|
$toolNodes += [ToolVersionNode]::new("xcpretty", $xcpretty)
|
||||||
|
if ($os.IsBigSur -or $os.IsMonterey) {
|
||||||
$toolNodes += [ToolVersionNode]::new("xcversion", $xcversion)
|
$toolNodes += [ToolVersionNode]::new("xcversion", $xcversion)
|
||||||
|
}
|
||||||
|
|
||||||
$nomadOutput = Run-Command "gem list nomad-cli"
|
$nomadOutput = Run-Command "gem list nomad-cli"
|
||||||
$nomadCLI = [regex]::matches($nomadOutput, "(\d+.){2}\d+").Value
|
$nomadCLI = [regex]::matches($nomadOutput, "(\d+.){2}\d+").Value
|
||||||
|
|||||||
Reference in New Issue
Block a user