mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
💄 renames
This commit is contained in:
@@ -128,7 +128,7 @@ export class MainThreadNotebookKernels implements MainThreadNotebookKernelsShape
|
||||
if (!editor.hasModel()) {
|
||||
return;
|
||||
}
|
||||
const { bound: kernel } = this._notebookKernelService.getNotebookKernels(editor.viewModel.notebookDocument);
|
||||
const { selected: kernel } = this._notebookKernelService.getNotebookKernels(editor.viewModel.notebookDocument);
|
||||
if (!kernel) {
|
||||
return;
|
||||
}
|
||||
@@ -158,7 +158,7 @@ export class MainThreadNotebookKernels implements MainThreadNotebookKernelsShape
|
||||
if (!editor.hasModel()) {
|
||||
continue;
|
||||
}
|
||||
if (this._notebookKernelService.getNotebookKernels(editor.viewModel.notebookDocument).bound !== kernel) {
|
||||
if (this._notebookKernelService.getNotebookKernels(editor.viewModel.notebookDocument).selected !== kernel) {
|
||||
// different kernel
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user