Fix deprecation message (#156008)

This commit is contained in:
Matt Bierner
2022-07-22 15:43:27 -07:00
committed by GitHub
parent a9b387204b
commit f9b9ffe1ef

View File

@@ -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);
},