Stabilize CustomExecution task API

Fixes #80375
This commit is contained in:
Alex Ross
2019-10-22 17:10:25 +02:00
parent 967019304d
commit 030af9515a
5 changed files with 29 additions and 54 deletions

View File

@@ -57,7 +57,7 @@ export class ExtHostTask extends ExtHostTaskBase {
// in the provided custom execution map that is cleaned up after the
// task is executed.
if (CustomExecutionDTO.is(dto.execution)) {
await this.addCustomExecution(dto, <vscode.Task2>task, false);
await this.addCustomExecution(dto, task, false);
}
return this._proxy.$executeTask(dto).then(value => this.getTaskExecution(value, task));