File tree Expand file tree Collapse file tree
src/vs/workbench/api/node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,8 +127,6 @@ export function createApiFactory(
127127
128128 return function ( extension : IExtensionDescription ) : typeof vscode {
129129
130- const EXTENSION_ID = extension . id ;
131-
132130 if ( ! isFalsyOrEmpty ( product . extensionAllowedProposedApi )
133131 && product . extensionAllowedProposedApi . indexOf ( extension . id ) >= 0
134132 ) {
@@ -395,13 +393,8 @@ export function createApiFactory(
395393 } ;
396394
397395 // namespace: workspace
398- let warnedRootPath = false ;
399396 const workspace : typeof vscode . workspace = {
400397 get rootPath ( ) {
401- if ( ! warnedRootPath ) {
402- warnedRootPath = true ;
403- extensionService . addMessage ( EXTENSION_ID , Severity . Warning , 'workspace.rootPath is deprecated' ) ;
404- }
405398 return extHostWorkspace . getPath ( ) ;
406399 } ,
407400 set rootPath ( value ) {
You can’t perform that action at this time.
0 commit comments