mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
fix #101871.
This commit is contained in:
@@ -964,7 +964,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
filter: vscode.NotebookOutputSelector,
|
||||
renderer: vscode.NotebookOutputRenderer
|
||||
): vscode.Disposable {
|
||||
if (this._notebookKernels.has(type)) {
|
||||
if (this._notebookOutputRenderers.has(type)) {
|
||||
throw new Error(`Notebook renderer for '${type}' already registered`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user