Skip to content

Commit bf573a9

Browse files
committed
fix: use proper CWD when starting a terminal
1 parent 51bbc6f commit bf573a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function createVitestTerminalProcess(pkg: VitestPackage): Promise<R
2222
const env = config.env || {}
2323
const terminal = vscode.window.createTerminal({
2424
hideFromUser: true,
25-
cwd: pkg.folder.uri,
25+
cwd: pkg.cwd,
2626
isTransient: false,
2727
shellArgs: config.terminalShellArgs,
2828
shellPath: config.terminalShellPath,

0 commit comments

Comments
 (0)