This commit is contained in:
rebornix
2020-08-13 16:57:47 -07:00
parent 7d08008a07
commit 25499ff969
7 changed files with 25 additions and 8 deletions

View File

@@ -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`);
}