We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 104c50c commit 8207292Copy full SHA for 8207292
1 file changed
scripts/smoke/install-smoke.ps1
@@ -125,7 +125,9 @@ try {
125
latestPrerelease = $BetaVersion
126
releases = @($betaEntry, $stableEntry)
127
}
128
- $manifest | ConvertTo-Json -Depth 8 | Set-Content -Path (Join-Path $Serve "manifest.json") -Encoding utf8
+ # The fixture is ASCII-only. Windows PowerShell 5.1 writes a BOM for
129
+ # -Encoding UTF8 while PowerShell 7 does not, so use an identical encoding.
130
+ $manifest | ConvertTo-Json -Depth 8 | Set-Content -Path (Join-Path $Serve "manifest.json") -Encoding ascii
131
132
# 4. Serve the manifest + archives from localhost
133
$python = Get-Command python3 -ErrorAction SilentlyContinue
0 commit comments