Обновлен перевод и исправлено применение JSON-правок

This commit is contained in:
2026-04-10 23:55:57 +03:00
parent 07c7fc8aa7
commit 78a9840349
2 changed files with 129 additions and 13 deletions

View File

@@ -86,7 +86,7 @@ if (-not (Test-Path -LiteralPath $resolvedEditsPath)) {
throw "Edits file was not found: '$resolvedEditsPath'."
}
$edits = Get-Content -LiteralPath $resolvedEditsPath -Raw | ConvertFrom-Json -Depth 10
$edits = Get-Content -LiteralPath $resolvedEditsPath -Raw | ConvertFrom-Json
if ($null -eq $edits) {
throw "Edits file is empty or invalid JSON: '$resolvedEditsPath'."
}