fix: build

This commit is contained in:
Connor Peet 2021-04-19 12:59:35 -07:00
parent 6df31c584a
commit 8215a110a9
No known key found for this signature in database
GPG key ID: CF8FD2EA0DBC61BD
2 changed files with 2 additions and 2 deletions

View file

@ -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())));

View file

@ -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())));