File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ internal sealed partial class NugetPackageRestorer : IDisposable
3030 private readonly DependencyDirectory emptyPackageDirectory ;
3131 private readonly ILogger logger ;
3232 private readonly ICompilationInfoContainer compilationInfoContainer ;
33- private readonly Lazy < bool > lazyCheckNugetFeedResponsiveness = new ( ( ) => EnvironmentVariables . GetBooleanOptOut ( EnvironmentVariableNames . CheckNugetFeedResponsiveness ) ) ;
34- private bool CheckNugetFeedResponsiveness => lazyCheckNugetFeedResponsiveness . Value ;
33+ private bool CheckNugetFeedResponsiveness { get ; } = EnvironmentVariables . GetBooleanOptOut ( EnvironmentVariableNames . CheckNugetFeedResponsiveness ) ;
3534 private HashSet < string > PrivateRegistryFeeds => dependabotProxy ? . RegistryURLs ?? [ ] ;
3635 private bool HasPrivateRegistryFeeds => PrivateRegistryFeeds . Any ( ) ;
3736
You can’t perform that action at this time.
0 commit comments