mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Mirroring TextModel.
This commit is contained in:
@@ -147,7 +147,13 @@ export class MainThreadNotebooks extends Disposable implements MainThreadNoteboo
|
||||
let handle = await this._proxy.$resolveNotebook(viewType, uri);
|
||||
|
||||
if (handle !== undefined) {
|
||||
return this._documents.get(handle);
|
||||
const doc = this._documents.get(handle);
|
||||
|
||||
if (doc === undefined) {
|
||||
console.log('resolve notebook from main but undefined');
|
||||
}
|
||||
|
||||
return doc;
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user