Rename CustomExecution2 to CustomExecution

Part of #80375
This commit is contained in:
Alex Ross
2019-10-11 14:43:23 +02:00
parent 6251b1c226
commit dc4b1c231c
11 changed files with 74 additions and 74 deletions

View File

@@ -10,7 +10,7 @@ suite('workspace-namespace', () => {
suite('Tasks', () => {
test('CustomExecution2 task should start and shutdown successfully', (done) => {
test('CustomExecution task should start and shutdown successfully', (done) => {
interface CustomTestingTaskDefinition extends vscode.TaskDefinition {
/**
* One of the task properties. This can be used to customize the task in the tasks.json
@@ -35,7 +35,7 @@ suite('workspace-namespace', () => {
customProp1: 'testing task one'
};
const writeEmitter = new vscode.EventEmitter<string>();
const execution = new vscode.CustomExecution2((): Thenable<vscode.Pseudoterminal> => {
const execution = new vscode.CustomExecution((): Thenable<vscode.Pseudoterminal> => {
const pty: vscode.Pseudoterminal = {
onDidWrite: writeEmitter.event,
open: () => {