Skip to content

Commit 41eace0

Browse files
author
Pascal Berger
committed
Make sure to convert the whole object back to the JSON file
1 parent fce5ad8 commit 41eace0

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)