File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -769,11 +769,8 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
769769 const items : ConfigurationSetting [ ] = [ ] ;
770770 for await ( const page of pageIterator ) {
771771 pageWatchers . push ( { etag : page . etag } ) ;
772- for ( const setting of page . items ) {
773- items . push ( setting ) ;
774- }
772+ items . push ( ...page . items ) ;
775773 }
776-
777774 return { items, pageWatchers } ;
778775 } ;
779776
@@ -814,11 +811,8 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
814811
815812 const items : ConfigurationSetting [ ] = [ ] ;
816813 for await ( const page of pageIterator ) {
817- for ( const setting of page . items ) {
818- items . push ( setting ) ;
819- }
814+ items . push ( ...page . items ) ;
820815 }
821-
822816 return items ;
823817 } ;
824818
You can’t perform that action at this time.
0 commit comments