Merge 20491b1004
into 153a028f3b
This commit is contained in:
commit
ff6265cc2f
|
@ -88,7 +88,14 @@ export abstract class AbstractNativeEnvironmentService implements INativeEnviron
|
|||
get machineSettingsResource(): URI { return joinPath(URI.file(join(this.userDataPath, 'Machine')), 'settings.json'); }
|
||||
|
||||
@memoize
|
||||
get globalStorageHome(): URI { return URI.joinPath(this.appSettingsHome, 'globalStorage'); }
|
||||
get globalStorageHome(): URI {
|
||||
const globalStoragePath = env['VSCODE_GLOBAL_STORAGE'];
|
||||
if (globalStoragePath) {
|
||||
return URI.file(globalStoragePath);
|
||||
}
|
||||
|
||||
return URI.joinPath(this.appSettingsHome, 'globalStorage');
|
||||
}
|
||||
|
||||
@memoize
|
||||
get workspaceStorageHome(): URI { return URI.joinPath(this.appSettingsHome, 'workspaceStorage'); }
|
||||
|
|
Loading…
Reference in a new issue