Skip to content

The agent that grows with you

fix(update): normalize windows.ps1 to LF and keep fixture here-string braces off column 0

Teknium266d8ce2bb2c
diff --git a/scripts/desktop-update/windows.ps1 b/scripts/desktop-update/windows.ps1
index 5ed91c952eb..cb8d5da4e5d 100644
--- a/scripts/desktop-update/windows.ps1
+++ b/scripts/desktop-update/windows.ps1
@@ -1247,10 +1247,7 @@ exit 0
param([int]$Hold, [string]$ProgressLog)
Write-Output "silent but logging"
[Console]::Out.Flush()
-for ($i = 0; $i -lt $Hold; $i++) {
- Add-Content -LiteralPath $ProgressLog -Value ("build tick {0}" -f $i)
- Start-Sleep -Seconds 1
-}
+for ($i = 0; $i -lt $Hold; $i++) { Add-Content -LiteralPath $ProgressLog -Value ("build tick {0}" -f $i); Start-Sleep -Seconds 1 }
exit 3
'@
[System.IO.File]::WriteAllText($childPs1, $childSource)