diff options
author | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2022-06-21 16:06:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 16:06:08 +0300 |
commit | f73cd164d0762ff058859fd28b4ce23bbc8acb8f (patch) | |
tree | ee07a7cebf0ae6014789438d32cc548f048e7652 /src/vs/workbench/contrib/extensions/electron-sandbox | |
parent | d9ee36bf0c2ce9e5ccd7ba8cc1b4156147833800 (diff) |
storage - rename `GLOBAL` to `APPLICATION` (#152730)
Diffstat (limited to 'src/vs/workbench/contrib/extensions/electron-sandbox')
-rw-r--r-- | src/vs/workbench/contrib/extensions/electron-sandbox/remoteExtensionsInit.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/remoteExtensionsInit.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/remoteExtensionsInit.ts index aa4a1d19536..7209af8ccaf 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/remoteExtensionsInit.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/remoteExtensionsInit.ts @@ -57,11 +57,11 @@ export class RemoteExtensionsInitializerContribution implements IWorkbenchContri } const newRemoteConnectionKey = `${IS_NEW_KEY}.${connection.remoteAuthority}`; // Skip: Not a new remote connection - if (!this.storageService.getBoolean(newRemoteConnectionKey, StorageScope.GLOBAL, true)) { + if (!this.storageService.getBoolean(newRemoteConnectionKey, StorageScope.APPLICATION, true)) { this.logService.trace(`Skipping initializing remote extensions because the window with this remote authority was opened before.`); return; } - this.storageService.store(newRemoteConnectionKey, false, StorageScope.GLOBAL, StorageTarget.MACHINE); + this.storageService.store(newRemoteConnectionKey, false, StorageScope.APPLICATION, StorageTarget.MACHINE); // Skip: Not a new workspace if (!this.storageService.isNew(StorageScope.WORKSPACE)) { this.logService.trace(`Skipping initializing remote extensions because this workspace was opened before.`); |