We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647b126 commit b390166Copy full SHA for b390166
editors/code/src/tasks.ts
@@ -83,7 +83,7 @@ export async function buildCargoTask(
83
const customExec = await vscode.commands.executeCommand(runnerCommand, runnerArgs);
84
if (customExec) {
85
if (customExec instanceof vscode.ShellExecution) {
86
- exec = customExec as vscode.ShellExecution;
+ exec = customExec;
87
} else {
88
log.debug("Invalid cargo ShellExecution", customExec);
89
throw "Invalid cargo ShellExecution.";
@@ -98,7 +98,7 @@ export async function buildCargoTask(
98
}
99
100
if (!exec) {
101
- exec = new vscode.ShellExecution(toolchain.cargoPath(), args, definition)
+ exec = new vscode.ShellExecution(toolchain.cargoPath(), args, definition);
102
103
104
return new vscode.Task(
0 commit comments