提交 4c5030a3 编写于 作者: J Joao Moreno

🐛 remove withScmProgress from proposed

fixes #24009
上级 b2b9822b
...@@ -346,9 +346,9 @@ export function createApiFactory( ...@@ -346,9 +346,9 @@ export function createApiFactory(
withWindowProgress: proposedApiFunction(extension, <R>(title: string, task: (progress: vscode.Progress<string>, token: vscode.CancellationToken) => Thenable<R>): Thenable<R> => { withWindowProgress: proposedApiFunction(extension, <R>(title: string, task: (progress: vscode.Progress<string>, token: vscode.CancellationToken) => Thenable<R>): Thenable<R> => {
return extHostProgress.withWindowProgress(extension, title, task); return extHostProgress.withWindowProgress(extension, title, task);
}), }),
withScmProgress: proposedApiFunction(extension, <R>(task: (progress: vscode.Progress<number>) => Thenable<R>) => { withScmProgress<R>(task: (progress: vscode.Progress<number>) => Thenable<R>) {
return extHostProgress.withScmProgress(extension, task); return extHostProgress.withScmProgress(extension, task);
}), },
createOutputChannel(name: string): vscode.OutputChannel { createOutputChannel(name: string): vscode.OutputChannel {
return extHostOutputService.createOutputChannel(name); return extHostOutputService.createOutputChannel(name);
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册