From f9b9ffe1ef6f9ce5ebde75dec14fdb8700833aeb Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 22 Jul 2022 15:43:27 -0700 Subject: [PATCH] Fix deprecation message (#156008) --- src/vs/workbench/api/common/extHost.api.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 2be02ab4797..073d4e11cdf 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -784,7 +784,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I showNotebookDocument(uriOrDocument, options?) { if (URI.isUri(uriOrDocument)) { extHostApiDeprecation.report('window.showNotebookDocument(uri)', extension, - `Please use 'window.openNotebookDocument' and 'window.showTextDocument'`); + `Please use 'workspace.openNotebookDocument' and 'window.showNotebookDocument'`); } return extHostNotebook.showNotebookDocument(uriOrDocument, options); },