mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
Remove duplication around checking isRemote
This commit is contained in:
@@ -190,10 +190,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
|
||||
return that._proxy.$postMessage(handle, editor && that._extHostNotebook.getIdByEditor(editor), message);
|
||||
},
|
||||
asWebviewUri(uri: URI) {
|
||||
const remoteAuthority = that._initData.remote.isRemote
|
||||
? that._initData.remote.authority
|
||||
: undefined;
|
||||
return asWebviewUri(String(handle), uri, remoteAuthority);
|
||||
return asWebviewUri(String(handle), uri, that._initData.remote);
|
||||
},
|
||||
// --- priority
|
||||
updateNotebookAffinity(notebook, priority) {
|
||||
|
||||
Reference in New Issue
Block a user