From d99bc983f71fb185482d07ebc0bc43273a1743b0 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Mon, 6 Apr 2020 09:57:59 +0200 Subject: [PATCH] debt - deprecate IEnvironmentService#userHome (#94506) --- src/vs/platform/environment/common/environment.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/vs/platform/environment/common/environment.ts b/src/vs/platform/environment/common/environment.ts index b727a9cc753..f1078fd5964 100644 --- a/src/vs/platform/environment/common/environment.ts +++ b/src/vs/platform/environment/common/environment.ts @@ -58,15 +58,19 @@ export interface IEnvironmentService { // --- data paths backupHome: URI; - userHome?: URI; untitledWorkspacesHome: URI; // --- misc disableTelemetry: boolean; - // TODO@sandeep move into node layer + // TODO@sandeep move into node layer (https://github.com/microsoft/vscode/issues/94504) serviceMachineIdResource?: URI; + /** + * @deprecated use IRemotePathService#userHome instead (https://github.com/microsoft/vscode/issues/94506) + */ + userHome?: URI; + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // NOTE: DO NOT ADD ANY OTHER PROPERTY INTO THE COLLECTION HERE // UNLESS THIS PROPERTY IS SUPPORTED BOTH IN WEB AND DESKTOP!!!! -- GitLab