Skip to content

Commit a04396b

Browse files
committed
User Story 33279: Fix xUnit Theory serialization warnings
- Changed config.json update step to use modern PowerShell via the "pwsh" shortcut instead of ancient PowerShell via the "powershell" shortcut.
1 parent a47a5f3 commit a04396b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/pipelines/common/templates/steps/update-config-file-step.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ parameters:
126126

127127
steps:
128128
# All properties should be added here, and this template should be used for any manipulation of the config.json file.
129-
- powershell: |
129+
- pwsh: |
130130
$PSVersionTable
131131
$jdata = Get-Content -Raw "config.default.json" | ConvertFrom-Json
132132
foreach ($p in $jdata)
@@ -187,7 +187,7 @@ steps:
187187
displayName: 'Update config.json'
188188

189189
- ${{ if eq(parameters.debug, true) }}:
190-
- powershell: |
190+
- pwsh: |
191191
$jdata = Get-Content -Raw "config.json" | ConvertFrom-Json
192192
foreach ($p in $jdata)
193193
{

0 commit comments

Comments
 (0)