Merge branch 'master' into tyriar/term_errors

This commit is contained in:
Daniel Imms
2020-06-15 06:20:48 -07:00
committed by GitHub
32 changed files with 408 additions and 445 deletions

View File

@@ -622,7 +622,7 @@ export abstract class ExtHostTaskBase implements ExtHostTaskShape {
protected async getTaskExecution(execution: tasks.TaskExecutionDTO | string, task?: vscode.Task): Promise<TaskExecutionImpl> {
if (typeof execution === 'string') {
const taskExecution = this._taskExecutions.get(execution);
const taskExecution = this._taskExecutionPromises.get(execution);
if (!taskExecution) {
throw new Error('Unexpected: The specified task is missing an execution');
}