Auto merge of #16024 - lnicola:debug-workspace-path, r=lnicola

fix: Fix runnable cwd on Windows

Fixes #16010
This commit is contained in:
bors 2023-12-05 11:11:43 +00:00
commit ceb4426cd6

View file

@ -74,7 +74,7 @@ export class Cargo {
artifacts.push({
fileName: message.executable,
name: message.target.name,
workspace: message.manifest_path.replace(/\/Cargo\.toml$/, ""),
workspace: path.dirname(message.manifest_path),
kind: message.target.kind[0],
isTest: message.profile.test,
});