diff options
author | Connor Peet <connor@peet.io> | 2021-04-19 22:59:35 +0300 |
---|---|---|
committer | Connor Peet <connor@peet.io> | 2021-04-19 22:59:35 +0300 |
commit | 8215a110a9469d99f42abe9dfcfa44e19282aa01 (patch) | |
tree | 1cf125ff9b83f5120050ae448ebd8ade1ed89541 | |
parent | 6df31c584a173c23153327df3bfb5e0e8a4d5ef7 (diff) |
fix: build
-rw-r--r-- | src/vs/workbench/browser/web.main.ts | 2 | ||||
-rw-r--r-- | src/vs/workbench/electron-sandbox/shared.desktop.main.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/workbench/browser/web.main.ts b/src/vs/workbench/browser/web.main.ts index 34e67836c7b..6bc9dc7348f 100644 --- a/src/vs/workbench/browser/web.main.ts +++ b/src/vs/workbench/browser/web.main.ts @@ -203,7 +203,7 @@ class BrowserMain extends Disposable { // Workspace Trust Service // TODO @lszomoru: Following two services shall be merged into single service - const workspaceTrustManagementService = new WorkspaceTrustManagementService(configurationService, storageService, uriIdentityService, configurationService); + const workspaceTrustManagementService = new WorkspaceTrustManagementService(configurationService, storageService, uriIdentityService, configurationService, environmentService); serviceCollection.set(IWorkspaceTrustManagementService, workspaceTrustManagementService); configurationService.updateWorkspaceTrust(workspaceTrustManagementService.isWorkpaceTrusted()); this._register(workspaceTrustManagementService.onDidChangeTrust(() => configurationService.updateWorkspaceTrust(workspaceTrustManagementService.isWorkpaceTrusted()))); diff --git a/src/vs/workbench/electron-sandbox/shared.desktop.main.ts b/src/vs/workbench/electron-sandbox/shared.desktop.main.ts index 8848424595a..18bb665ea99 100644 --- a/src/vs/workbench/electron-sandbox/shared.desktop.main.ts +++ b/src/vs/workbench/electron-sandbox/shared.desktop.main.ts @@ -263,7 +263,7 @@ export abstract class SharedDesktopMain extends Disposable { ]); // Workspace Trust Service - const workspaceTrustManagementService = new WorkspaceTrustManagementService(configurationService, storageService, uriIdentityService, configurationService); + const workspaceTrustManagementService = new WorkspaceTrustManagementService(configurationService, storageService, uriIdentityService, configurationService, environmentService); serviceCollection.set(IWorkspaceTrustManagementService, workspaceTrustManagementService); configurationService.updateWorkspaceTrust(workspaceTrustManagementService.isWorkpaceTrusted()); this._register(workspaceTrustManagementService.onDidChangeTrust(() => configurationService.updateWorkspaceTrust(workspaceTrustManagementService.isWorkpaceTrusted()))); |