From f78bb698231243988ff71f74b89bf20b12c407d0 Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Tue, 12 Nov 2024 12:18:55 -0800 Subject: [PATCH] ChangedServices should be an array! enforce it! --- eng/common/scripts/Generate-PR-Diff.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/Generate-PR-Diff.ps1 b/eng/common/scripts/Generate-PR-Diff.ps1 index 0ed03bb90da97..355ef612540f8 100644 --- a/eng/common/scripts/Generate-PR-Diff.ps1 +++ b/eng/common/scripts/Generate-PR-Diff.ps1 @@ -30,7 +30,7 @@ function Get-ChangedServices [string[]] $changedServices = $ChangedFiles | Foreach-Object { if ($_ -match "sdk/([^/]+)") { $matches[1] } } | Sort-Object -Unique - return $changedServices + return , $changedServices } if (!(Test-Path $ArtifactPath))