mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Fix regression with extension enablement
This commit is contained in:
parent
b7be98705f
commit
b55d438426
|
@ -20,7 +20,7 @@ export class ExtensionEnablementWorkspaceTrustTransitionParticipant extends Disp
|
|||
) {
|
||||
super();
|
||||
|
||||
if (!isWorkspaceTrustEnabled(configurationService)) {
|
||||
if (isWorkspaceTrustEnabled(configurationService)) {
|
||||
const workspaceTrustTransitionParticipant = new class implements IWorkspaceTrustTransitionParticipant {
|
||||
async participate(trusted: boolean): Promise<void> {
|
||||
if (trusted) {
|
||||
|
|
Loading…
Reference in a new issue