Skip to content

Commit c74fa44

Browse files
committed
Fix for how install apps is set
1 parent 15554dc commit c74fa44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Actions/RunPipeline/RunPipeline.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ try {
199199

200200
if ($installAppsJson -and (Test-Path $installAppsJson)) {
201201
try {
202-
$install.Apps += @(Get-Content -Path $installAppsJson -Raw | ConvertFrom-Json)
202+
$install.Apps = Get-Content -Path $installAppsJson | ConvertFrom-Json
203203
}
204204
catch {
205205
throw "Failed to parse JSON file at path '$installAppsJson'. Error: $($_.Exception.Message)"
@@ -208,7 +208,7 @@ try {
208208

209209
if ($installTestAppsJson -and (Test-Path $installTestAppsJson)) {
210210
try {
211-
$install.TestApps += @(Get-Content -Path $installTestAppsJson -Raw | ConvertFrom-Json)
211+
$install.TestApps = Get-Content -Path $installTestAppsJson | ConvertFrom-Json
212212
}
213213
catch {
214214
throw "Failed to parse JSON file at path '$installTestAppsJson'. Error: $($_.Exception.Message)"

0 commit comments

Comments
 (0)