Browse Source

Fix code cli flag in evals (#2889)

Chris Estreich 8 months ago
parent
commit
03925d25b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      evals/apps/cli/src/index.ts

+ 1 - 1
evals/apps/cli/src/index.ts

@@ -190,7 +190,7 @@ const runExercise = async ({ run, task, server }: { run: Run; task: Task; server
 			ROO_CODE_IPC_SOCKET_PATH: taskSocketPath,
 			ROO_CODE_IPC_SOCKET_PATH: taskSocketPath,
 		},
 		},
 		shell: "/bin/bash",
 		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.
 	// Give VSCode some time to spawn before connecting to its unix socket.
 	await new Promise((resolve) => setTimeout(resolve, 3_000))
 	await new Promise((resolve) => setTimeout(resolve, 3_000))