more renamed

This commit is contained in:
Johannes Rieken
2021-04-26 16:25:14 +02:00
parent 9a43ef93f7
commit f3cb718a80
9 changed files with 33 additions and 33 deletions

View File

@@ -128,7 +128,7 @@ export class MainThreadNotebookKernels implements MainThreadNotebookKernelsShape
if (!editor.hasModel()) {
return;
}
const { selected } = this._notebookKernelService.getNotebookKernels(editor.viewModel.notebookDocument);
const { selected } = this._notebookKernelService.getMatchingKernel(editor.viewModel.notebookDocument);
if (!selected) {
return;
}
@@ -158,7 +158,7 @@ export class MainThreadNotebookKernels implements MainThreadNotebookKernelsShape
if (!editor.hasModel()) {
continue;
}
if (this._notebookKernelService.getNotebookKernels(editor.viewModel.notebookDocument).selected !== kernel) {
if (this._notebookKernelService.getMatchingKernel(editor.viewModel.notebookDocument).selected !== kernel) {
// different kernel
continue;
}