File tree Expand file tree Collapse file tree
eng/common/scripts/job-matrix Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,12 +56,11 @@ if (!(Test-Path $PRMatrixFile)) {
5656
5757Write-Host " Generating PR job matrix for $PackagePropertiesFolder "
5858
59- $configs = Get-Content - Raw $PRMatrixFile | ConvertFrom-Json | ForEach-Object { [ PSCustomObject ] $_ }
59+ $configs = Get-Content - Raw $PRMatrixFile | ConvertFrom-Json
6060
6161# calculate general targeting information and create our batches prior to generating any matrix
6262$packageProperties = Get-ChildItem - Recurse " $PackagePropertiesFolder " * .json `
63- | ForEach-Object { Get-Content - Path $_.FullName | ConvertFrom-Json } `
64- | ForEach-Object { [PSCustomObject ]$_ }
63+ | ForEach-Object { Get-Content - Path $_.FullName | ConvertFrom-Json }
6564
6665# set default matrix config for each package if there isn't an override
6766$packageProperties | ForEach-Object {
You can’t perform that action at this time.
0 commit comments