Serilaize with depth (#4960)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
This commit is contained in:
parent
526143d69d
commit
f04b7164eb
@ -205,7 +205,7 @@ function UpdateDocsMsMetadataForPackage($packageInfoJsonLocation) {
|
||||
Write-Host "The docs metadata json $packageMetadataName does not exist, creating a new one to docs repo..."
|
||||
New-Item -ItemType Directory -Path $packageInfoLocation -Force
|
||||
}
|
||||
$packageInfoJson = ConvertTo-Json $packageInfo
|
||||
$packageInfoJson = ConvertTo-Json $packageInfo -Depth 100
|
||||
Set-Content `
|
||||
-Path $packageInfoLocation/$packageMetadataName `
|
||||
-Value $packageInfoJson
|
||||
|
||||
Loading…
Reference in New Issue
Block a user