Skip to content

Commit

Permalink
Fix issue with extension enablement
Browse files Browse the repository at this point in the history
  • Loading branch information
lszomoru committed May 11, 2021
1 parent 86bc051 commit c24aad5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c24aad5

Please sign in to comment.