fallback to default wt value
This commit is contained in:
parent
ae6ba8f980
commit
839871bef2
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export function isWorkspaceTrustEnabled(configurationService: IConfigurationServ
|
|||
return false;
|
||||
}
|
||||
|
||||
return configurationService.inspect<boolean>(WORKSPACE_TRUST_ENABLED).userValue ?? false;
|
||||
return (configurationService.inspect<boolean>(WORKSPACE_TRUST_ENABLED).userValue ?? configurationService.inspect<boolean>(WORKSPACE_TRUST_ENABLED).defaultValue) ?? false;
|
||||
}
|
||||
|
||||
export class WorkspaceTrustManagementService extends Disposable implements IWorkspaceTrustManagementService {
|
||||
|
|
Loading…
Reference in a new issue