Skip to content

Commit dc6451d

Browse files
committed
1 parent 4c72a60 commit dc6451d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/vs/workbench/api/node/extHost.api.impl.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)