cleabn up

This commit is contained in:
Sandeep Somavarapu
2022-02-09 15:09:53 +01:00
parent c4e265c947
commit d20ffc5f82
7 changed files with 29 additions and 26 deletions

View File

@@ -653,7 +653,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
if (languageId) {
checkProposedApiEnabled(extension, 'outputChannelLanguage');
}
return extHostOutputService.createOutputChannel(name, languageId || '', extension);
return extHostOutputService.createOutputChannel(name, languageId, extension);
},
createWebviewPanel(viewType: string, title: string, showOptions: vscode.ViewColumn | { viewColumn: vscode.ViewColumn; preserveFocus?: boolean }, options?: vscode.WebviewPanelOptions & vscode.WebviewOptions): vscode.WebviewPanel {
return extHostWebviewPanels.createWebviewPanel(extension, viewType, title, showOptions, options);