From 41874992952fffd37c60583391802e29b6f14d86 Mon Sep 17 00:00:00 2001 From: nicole mazzuca Date: Thu, 30 Sep 2021 19:52:23 -0700 Subject: [macos ci] oops that was a dumb bug (#20448) --- scripts/azure-pipelines/test-modified-ports.ps1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/azure-pipelines/test-modified-ports.ps1 b/scripts/azure-pipelines/test-modified-ports.ps1 index 46ea637dc..d837dbb62 100755 --- a/scripts/azure-pipelines/test-modified-ports.ps1 +++ b/scripts/azure-pipelines/test-modified-ports.ps1 @@ -133,9 +133,12 @@ if ($null -ne $OnlyTest) $OnlyTest | % { $portName = $_ & "./vcpkg$executableExtension" install --triplet $Triplet @commonArgs $portName - [System.Console]::Error.WriteLine( ` - "REGRESSION: ${portName}:$triplet. If expected, remove ${portName} from the OnlyTest list." ` - ) + if (-not $?) + { + [System.Console]::Error.WriteLine( ` + "REGRESSION: ${portName}:$triplet. If expected, remove ${portName} from the OnlyTest list." ` + ) + } } } else -- cgit v1.2.3