Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
badsyntax committed May 19, 2020
1 parent 188f23b commit a43ec04
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions extension/src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,22 +549,13 @@ export function buildGradleServerTask(
VSCODE_JAVA_HOME: javaHome,
});
}
const task = new vscode.Task(
return new vscode.Task(
definition,
vscode.TaskScope.Workspace,
taskName,
taskType,
new vscode.ProcessExecution(cmd, args, { cwd, env })
);
// task.isBackground = true; // this hides errors on task start
task.presentationOptions = {
reveal: vscode.TaskRevealKind.Never,
focus: false,
echo: true,
clear: false,
panel: vscode.TaskPanelKind.Shared,
};
return task;
}

export function restartTask(task: vscode.Task): void {
Expand Down

0 comments on commit a43ec04

Please sign in to comment.