File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
9696
9797 if ( options ?. refreshOptions ?. enabled ) {
9898 const { watchedSettings, refreshIntervalInMs, registerAll } = options . refreshOptions ;
99-
99+
100100 // validate refresh options
101101 if ( registerAll !== true && ( watchedSettings === undefined || watchedSettings . length === 0 ) ) {
102102 throw new Error ( "Refresh is enabled but no watched settings are specified." ) ;
@@ -443,14 +443,14 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
443443 this . #client,
444444 listOptions
445445 ) . byPage ( ) ;
446-
446+
447447 for await ( const page of pageIterator ) {
448448 if ( page . _response . status === 200 ) { // created or changed
449449 needRefresh = true ;
450450 break ;
451451 }
452452 }
453-
453+
454454 if ( needRefresh ) {
455455 break ; // short-circuit if result from any of the selectors is changed
456456 }
You can’t perform that action at this time.
0 commit comments