@@ -165,7 +165,7 @@ internal PnPContext PnPContext
165165
166166 private string _graphEndPoint ;
167167 /// <summary>
168- private static readonly string [ ] sourceArray = [ "stop" , "ignore" , "silentlycontinue" ] ;
168+ private static readonly string [ ] errorActionSourceArray = [ "stop" , "ignore" , "silentlycontinue" ] ;
169169 #endregion
170170
171171 #region Creators
@@ -267,7 +267,7 @@ internal static PnPConnection CreateWithDeviceLogin(string clientId, string url,
267267 }
268268 if ( CacheEnabled ( url , clientId ) )
269269 {
270- if ( ! sourceArray . Contains ( ErrorActionSetting . ToLowerInvariant ( ) ) )
270+ if ( ! errorActionSourceArray . Contains ( ErrorActionSetting . ToLowerInvariant ( ) ) )
271271 {
272272 WriteCacheEnabledMessage ( host ) ;
273273 }
@@ -480,7 +480,7 @@ internal static PnPConnection CreateWithCredentials(Cmdlet cmdlet, Uri url, PSCr
480480 }
481481 if ( CacheEnabled ( url . ToString ( ) , clientId ) )
482482 {
483- if ( ! sourceArray . Contains ( ErrorActionSetting . ToLowerInvariant ( ) ) )
483+ if ( ! errorActionSourceArray . Contains ( ErrorActionSetting . ToLowerInvariant ( ) ) )
484484 {
485485 WriteCacheEnabledMessage ( host ) ;
486486 }
@@ -603,7 +603,7 @@ internal static PnPConnection CreateWithInteractiveLogin(Uri uri, string clientI
603603 }
604604 if ( CacheEnabled ( uri . ToString ( ) , clientId ) )
605605 {
606- if ( ! sourceArray . Contains ( ErrorActionSetting . ToLowerInvariant ( ) ) )
606+ if ( ! errorActionSourceArray . Contains ( ErrorActionSetting . ToLowerInvariant ( ) ) )
607607 {
608608 WriteCacheEnabledMessage ( host ) ;
609609 }
0 commit comments