Revert "fix: in VSCode, correctly resolve relative paths to errors"

This commit is contained in:
Jonas Schievink 2022-10-14 09:28:44 +02:00 committed by GitHub
parent 36a70b7435
commit 55fdcbe339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 21 deletions

View file

@ -842,7 +842,6 @@ export function run(ctx: Ctx): Cmd {
item.detail = "rerun";
prevRunnable = item;
const task = await createTask(item.runnable, ctx.config);
ctx.cargoWorkspaceRootForCurrentRun = item.cargoWorkspaceRoot;
return await vscode.tasks.executeTask(task);
};
}
@ -947,6 +946,3 @@ export function linkToCommand(ctx: Ctx): Cmd {
}
};
}
export function getCargoWorkspaceDir(ctx: Ctx): Cmd {
return async () => ctx.cargoWorkspaceRootForCurrentRun;
}