diff --git a/src/vs/workbench/api/node/extHost.api.impl.ts b/src/vs/workbench/api/node/extHost.api.impl.ts index 8b7ba385af174..cc5ebbc10fc0d 100644 --- a/src/vs/workbench/api/node/extHost.api.impl.ts +++ b/src/vs/workbench/api/node/extHost.api.impl.ts @@ -625,12 +625,12 @@ export function createApiFactory( registerTaskProvider: (type: string, provider: vscode.TaskProvider) => { return extHostTask.registerTaskProvider(extension, provider); }, - fetchTasks: proposedApiFunction(extension, (filter?: vscode.TaskFilter): Thenable => { + fetchTasks: (filter?: vscode.TaskFilter): Thenable => { return extHostTask.fetchTasks(filter); - }), - executeTask: proposedApiFunction(extension, (task: vscode.Task): Thenable => { + }, + executeTask: (task: vscode.Task): Thenable => { return extHostTask.executeTask(extension, task); - }), + }, get taskExecutions(): vscode.TaskExecution[] { return extHostTask.taskExecutions; },