Skip to content

Commit 121a55f

Browse files
committed
Merge pull request #727 from pascalberger/FixJSONRoundtrip
Make sure to convert the whole object back to the JSON file
2 parents fce5ad8 + 41eace0 commit 121a55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Update-GitVersionTfsTaskVersion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ $task.version.Patch = $patch
1414

1515
# get this as a string again
1616

17-
ConvertTo-Json $task | Set-Content -Path $filePath
17+
ConvertTo-Json $task -Depth 999 | Set-Content -Path $filePath

0 commit comments

Comments
 (0)