Skip to content

Commit b390166

Browse files
committed
Fix ts lints
1 parent 647b126 commit b390166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/src/tasks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export async function buildCargoTask(
8383
const customExec = await vscode.commands.executeCommand(runnerCommand, runnerArgs);
8484
if (customExec) {
8585
if (customExec instanceof vscode.ShellExecution) {
86-
exec = customExec as vscode.ShellExecution;
86+
exec = customExec;
8787
} else {
8888
log.debug("Invalid cargo ShellExecution", customExec);
8989
throw "Invalid cargo ShellExecution.";
@@ -98,7 +98,7 @@ export async function buildCargoTask(
9898
}
9999

100100
if (!exec) {
101-
exec = new vscode.ShellExecution(toolchain.cargoPath(), args, definition)
101+
exec = new vscode.ShellExecution(toolchain.cargoPath(), args, definition);
102102
}
103103

104104
return new vscode.Task(

0 commit comments

Comments
 (0)