mirror of
https://github.com/Microsoft/vscode
synced 2024-07-07 19:50:26 +00:00
Fix issue with extension enablement
This commit is contained in:
parent
86bc05155f
commit
c24aad5bf2
|
@ -166,10 +166,13 @@ export class WorkspaceTrustManagementService extends Disposable implements IWork
|
|||
const trusted = this.calculateWorkspaceTrust();
|
||||
if (this.isWorkpaceTrusted() === trusted) { return; }
|
||||
|
||||
// Update workspace trust
|
||||
this._isWorkspaceTrusted = trusted;
|
||||
|
||||
// Run workspace trust transition participants
|
||||
await this._trustTransitionManager.participate(trusted);
|
||||
|
||||
this._isWorkspaceTrusted = trusted;
|
||||
// Fire workspace trust change event
|
||||
this._onDidChangeTrust.fire(trusted);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user