Skip to content

Commit 33aaac4

Browse files
subhash-arabhiAchal1607
authored andcommitted
Corrected typo
1 parent 119c008 commit 33aaac4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vscode/src/notebooks/kernel.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class IJNBKernel implements Disposable {
8787
const cellId = cell.document.uri.toString();
8888
const sourceCode = cell.document.getText();
8989
const codeCellExecution = new CodeCellExecution(controller.id, notebookId, cell);
90-
this.getIncementedExecutionCounter(notebookId);
90+
this.getIncrementedExecutionCounter(notebookId);
9191
try {
9292
this.cellControllerIdMap.set(cellId, codeCellExecution);
9393
const client: LanguageClient = await globalState.getClientPromise().client;
@@ -143,13 +143,13 @@ export class IJNBKernel implements Disposable {
143143

144144
private handleUnkownLanguageTypeExecution = async (notebookId: string, cell: NotebookCell, controller: NotebookController) => {
145145
const exec = controller.createNotebookCellExecution(cell);
146-
exec.executionOrder = this.getIncementedExecutionCounter(notebookId);
146+
exec.executionOrder = this.getIncrementedExecutionCounter(notebookId);
147147
exec.start(Date.now());
148148
await exec.replaceOutput(createErrorOutput(new Error(`Doesn't support ${cell.document.languageId} execution`)));
149149
exec.end(false, Date.now());
150150
}
151151

152-
private getIncementedExecutionCounter = (notebookId: string) => {
152+
private getIncrementedExecutionCounter = (notebookId: string) => {
153153
const next = (IJNBKernel.executionCounter.get(notebookId) ?? 0) + 1;
154154
IJNBKernel.executionCounter.set(notebookId, next);
155155
return next;
@@ -162,7 +162,7 @@ export class IJNBKernel implements Disposable {
162162
private handleMarkdownCellExecution = async (notebookId: string, cell: NotebookCell, controller: NotebookController) => {
163163
const exec = controller.createNotebookCellExecution(cell);
164164
const mimeType = 'text/markdown';
165-
exec.executionOrder = this.getIncementedExecutionCounter(notebookId);
165+
exec.executionOrder = this.getIncrementedExecutionCounter(notebookId);
166166
try {
167167
exec.start(Date.now());
168168
await exec.replaceOutput([

0 commit comments

Comments
 (0)