Skip to content

Commit ab2ed68

Browse files
committed
Merge pull request #849 from pascalberger/FixConvertToJson
Reduce depth for JSON conversion to maximum allowed 100
2 parents e572f78 + 1346217 commit ab2ed68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionTfsTask/Update-GitVersionTfsTaskVersion.ps1

+1-1
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 -Depth 999 | Set-Content -Path $filePath
17+
ConvertTo-Json $task -Depth 100 | Set-Content -Path $filePath

0 commit comments

Comments
 (0)