From 207d1366e2143b3e497d94556320d5250146a820 Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Thu, 1 Jul 2021 14:00:26 -0700 Subject: [PATCH] Don't pass registrationData twice --- src/client/common/application/notebook.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client/common/application/notebook.ts b/src/client/common/application/notebook.ts index cc9e9a82186..20b6aea181b 100644 --- a/src/client/common/application/notebook.ts +++ b/src/client/common/application/notebook.ts @@ -114,10 +114,7 @@ export class VSCodeNotebook implements IVSCodeNotebook { serializer: NotebookSerializer, options?: NotebookDocumentContentOptions ): Disposable { - return workspace.registerNotebookSerializer(notebookType, serializer, options, { - displayName: 'Jupyter', - filenamePattern: ['*.ipynb'] - }); + return workspace.registerNotebookSerializer(notebookType, serializer, options); } public createNotebookController( id: string,