From f5ab68dd63f15696e67e6313616757ff17ccc8da Mon Sep 17 00:00:00 2001 From: DrIOS <58635327+DrIOSX@users.noreply.github.com> Date: Fri, 7 Jun 2024 13:04:33 -0500 Subject: [PATCH] fix: output in 6.2.1 so joine won't fail --- source/tests/Test-BlockMailForwarding.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/tests/Test-BlockMailForwarding.ps1 b/source/tests/Test-BlockMailForwarding.ps1 index dbe539a..9435a87 100644 --- a/source/tests/Test-BlockMailForwarding.ps1 +++ b/source/tests/Test-BlockMailForwarding.ps1 @@ -1,7 +1,6 @@ function Test-BlockMailForwarding { [CmdletBinding()] param ( - # Aligned Compare # Parameters can be added if needed ) @@ -30,7 +29,7 @@ function Test-BlockMailForwarding { $details = if ($transportRules.Count -gt 0) { $transportRules | ForEach-Object { - "$($_.Name) redirects to $($_.RedirectMessageTo)" + "$($_.Name) redirects to $($_.RedirectMessageTo -join ', ')" } -join " | " } else {