Skip to content

Commit 0dbb271

Browse files
authored
Merge branch 'main' into fix/ci-windows-2022-runners
2 parents 27a885f + e7eb236 commit 0dbb271

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"xamlstyler.console": {
12-
"version": "3.2206.4",
12+
"version": "3.2501.8",
1313
"commands": [
1414
"xstyler"
1515
]

Get-Changed-Components.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ $retChangedComponents = -not [string]::IsNullOrWhiteSpace($changedComponentFiles
5050
$retAllComponents = [string]::IsNullOrWhiteSpace($changedComponentFiles) -or -not [string]::IsNullOrWhiteSpace($otherChanges);
5151

5252
if ($retAllComponents) {
53-
return 'all';
53+
return @('all');
5454
}
5555

5656
if ($retChangedComponents) {
5757
$names = $changedComponentFiles | ForEach-Object { ($_ -replace '^components/', '') -replace '/.*$', '' }
5858
$uniqueNames = $names | Sort-Object -Unique
59-
$changedComponentsList = $uniqueNames -join ','
60-
return $changedComponentsList
59+
return $uniqueNames
6160
}
6261

6362
Write-Error "Unhandled code path."

0 commit comments

Comments
 (0)