Fix script when there is one existing exclusion

Fixes RIDER-128049


(cherry picked from commit 14c2c4d16cec3487e077b7e3a17c5c89d7c516b5)

NET-CR-16984

GitOrigin-RevId: baeed9b5109e83e35a347bef96b9448626f88d1d
This commit is contained in:
Kevin Gosse
2025-07-21 17:13:07 +02:00
committed by intellij-monorepo-bot
parent 7146020be0
commit 4ae1a95288

View File

@@ -56,7 +56,7 @@ try {
if (-not $exclusions) {
$exclusions = @()
} else {
$exclusions = Expand-Excluded $exclusions
$exclusions = @(Expand-Excluded $exclusions)
}
foreach ($path in $args) {