diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2022-10-14 09:28:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 09:28:44 +0200 |
| commit | 55fdcbe339a002099c17ba545fb593163fef2011 (patch) | |
| tree | a04ca7b7d517968f81de35cec88158202596e5ac /editors/code/src/commands.ts | |
| parent | 36a70b7435c48837018c71576d7bb4e8f763f501 (diff) | |
| download | rust-55fdcbe339a002099c17ba545fb593163fef2011.tar.gz rust-55fdcbe339a002099c17ba545fb593163fef2011.zip | |
Revert "fix: in VSCode, correctly resolve relative paths to errors"
Diffstat (limited to 'editors/code/src/commands.ts')
| -rw-r--r-- | editors/code/src/commands.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 6b10073aa86..b9ad525e361 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -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; -} |
