Skip to content

Commit

Permalink
Auto merge of #16024 - lnicola:debug-workspace-path, r=lnicola
Browse files Browse the repository at this point in the history
fix: Fix runnable cwd on Windows

Fixes #16010
  • Loading branch information
bors committed Dec 5, 2023
2 parents 2d66f6d + 9dc3821 commit ceb4426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editors/code/src/toolchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit ceb4426

Please sign in to comment.