Fix runnable cwd on Windows

This commit is contained in:
Laurențiu Nicola 2023-12-05 13:07:52 +02:00
parent 2d66f6df25
commit 9dc38214c0

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,
});