Fix code cli flag in evals (#2889)

This commit is contained in:
Chris Estreich 2025-04-23 13:26:59 -07:00 committed by GitHub
parent 1543713c32
commit 03925d25b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,7 @@ const runExercise = async ({ run, task, server }: { run: Run; task: Task; server
ROO_CODE_IPC_SOCKET_PATH: taskSocketPath,
},
shell: "/bin/bash",
})`code --disable-workspace-trust -W ${workspacePath}`
})`code --disable-workspace-trust -n ${workspacePath}`
// Give VSCode some time to spawn before connecting to its unix socket.
await new Promise((resolve) => setTimeout(resolve, 3_000))