File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) "
You can’t perform that action at this time.
0 commit comments