File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/react-router-dev/vite Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export async function pMap(
8383
8484 if ( resolvingCount === 0 && ! isResolved ) {
8585 if ( ! stopOnError && errors . length > 0 ) {
86- reject ( new AggregateError ( errors ) ) ; // eslint-disable-line unicorn/error-message
86+ reject ( new AggregateError ( errors ) ) ;
8787 return ;
8888 }
8989
@@ -163,7 +163,6 @@ export async function pMap(
163163 ( async ( ) => {
164164 for ( let index = 0 ; index < concurrency ; index ++ ) {
165165 try {
166- // eslint-disable-next-line no-await-in-loop
167166 await next ( ) ;
168167 } catch ( error ) {
169168 reject ( error ) ;
@@ -257,7 +256,7 @@ export function pMapIterable(
257256 trySpawn ( ) ;
258257
259258 while ( promises . length > 0 ) {
260- const { error, done, value} = await promises [ 0 ] ; // eslint-disable-line no-await-in-loop
259+ const { error, done, value} = await promises [ 0 ] ;
261260
262261 promises . shift ( ) ;
263262
You can’t perform that action at this time.
0 commit comments