Skip to content

Commit 9dc3821

Browse files
committed
Fix runnable cwd on Windows
1 parent 2d66f6d commit 9dc3821

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)