Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Dec 24, 2024
1 parent afefd43 commit 32fc436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/extension.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ export async function activate(context: IExtensionContext): Promise<IExtensionAp
createJupyterServerCollection: () => {
throw new Error('Not Implemented');
},
kernels: { getKernel: () => Promise.resolve(undefined) },
kernels: {
getKernel: () => Promise.resolve(undefined),
onDidStart: () => ({ dispose: noop })
},
// eslint-disable-next-line @typescript-eslint/no-explicit-any
onDidChangePythonEnvironment: undefined as any,
getPythonEnvironment: () => undefined
Expand Down
2 changes: 1 addition & 1 deletion src/extension.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export async function activate(context: IExtensionContext): Promise<IExtensionAp
createJupyterServerCollection: () => {
throw new Error('Not Implemented');
},
kernels: { getKernel: () => Promise.resolve(undefined) },
kernels: { getKernel: () => Promise.resolve(undefined), onDidStart: () => ({ dispose: noop }) },
// eslint-disable-next-line @typescript-eslint/no-explicit-any
onDidChangePythonEnvironment: undefined as any,
getPythonEnvironment: () => undefined
Expand Down

0 comments on commit 32fc436

Please sign in to comment.