mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
Fix Windows external bearer refresh test
This commit is contained in:
@@ -364,7 +364,7 @@ mv tokens.next tokens.txt
|
||||
let script_path = tempdir.path().join("print-token.ps1");
|
||||
std::fs::write(
|
||||
&script_path,
|
||||
r#"$lines = Get-Content -Path tokens.txt
|
||||
r#"$lines = @(Get-Content -Path tokens.txt)
|
||||
if ($lines.Count -eq 0) { exit 1 }
|
||||
Write-Output $lines[0]
|
||||
$lines | Select-Object -Skip 1 | Set-Content -Path tokens.txt
|
||||
|
||||
Reference in New Issue
Block a user