Skip to content

Commit ceb4426

Browse files
committed
Auto merge of #16024 - lnicola:debug-workspace-path, r=lnicola
fix: Fix runnable cwd on Windows Fixes #16010
2 parents 2d66f6d + 9dc3821 commit ceb4426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/toolchain.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class Cargo {
7474
artifacts.push({
7575
fileName: message.executable,
7676
name: message.target.name,
77-
workspace: message.manifest_path.replace(/\/Cargo\.toml$/, ""),
77+
workspace: path.dirname(message.manifest_path),
7878
kind: message.target.kind[0],
7979
isTest: message.profile.test,
8080
});

0 commit comments

Comments
 (0)