|
4 | 4 | *--------------------------------------------------------------------------------------------*/ |
5 | 5 |
|
6 | 6 | import * as assert from 'assert'; |
7 | | -import { window, tasks, Disposable, TaskDefinition, Task, EventEmitter, CustomExecution, Pseudoterminal, TaskScope, commands, Task2, env, UIKind, ShellExecution, TaskExecution, Terminal, Event } from 'vscode'; |
| 7 | +import { window, tasks, Disposable, TaskDefinition, Task, EventEmitter, CustomExecution, Pseudoterminal, TaskScope, commands, env, UIKind, ShellExecution, TaskExecution, Terminal, Event } from 'vscode'; |
8 | 8 |
|
9 | 9 | // Disable tasks tests: |
10 | 10 | // - Web https://github.com/microsoft/vscode/issues/90528 |
@@ -94,7 +94,7 @@ import { window, tasks, Disposable, TaskDefinition, Task, EventEmitter, CustomEx |
94 | 94 | }; |
95 | 95 | return Promise.resolve(pty); |
96 | 96 | }); |
97 | | - const task = new Task2(kind, TaskScope.Workspace, taskName, taskType, execution); |
| 97 | + const task = new Task(kind, TaskScope.Workspace, taskName, taskType, execution); |
98 | 98 | result.push(task); |
99 | 99 | return result; |
100 | 100 | }, |
@@ -151,7 +151,7 @@ import { window, tasks, Disposable, TaskDefinition, Task, EventEmitter, CustomEx |
151 | 151 | }; |
152 | 152 | return Promise.resolve(pty); |
153 | 153 | }); |
154 | | - const task = new Task2(kind, TaskScope.Workspace, taskName, taskType, execution); |
| 154 | + const task = new Task(kind, TaskScope.Workspace, taskName, taskType, execution); |
155 | 155 | result.push(task); |
156 | 156 | return result; |
157 | 157 | }, |
|
0 commit comments