@@ -163,6 +163,7 @@ export async function pnpmFix(
163163 logger . error ( 'Required pnpm-lock.yaml not found.' )
164164 return
165165 }
166+
166167 const alertsMap = purls . length
167168 ? await getAlertsMapFromPurls ( purls , getAlertMapOptions ( { limit } ) )
168169 : await getAlertsMapFromPnpmLockfile (
@@ -353,6 +354,8 @@ export async function pnpmFix(
353354 if ( isCi ) {
354355 // eslint-disable-next-line no-await-in-loop
355356 await gitResetAndClean ( baseBranch , cwd )
357+ // eslint-disable-next-line no-await-in-loop
358+ actualTree = await install ( pkgEnvDetails , { cwd, spinner } )
356359 }
357360 continue
358361 }
@@ -461,6 +464,8 @@ export async function pnpmFix(
461464 if ( isCi ) {
462465 // eslint-disable-next-line no-await-in-loop
463466 await gitResetAndClean ( baseBranch , cwd )
467+ // eslint-disable-next-line no-await-in-loop
468+ actualTree = await install ( pkgEnvDetails , { cwd, spinner } )
464469 }
465470 if ( errored ) {
466471 if ( ! isCi ) {
@@ -470,6 +475,8 @@ export async function pnpmFix(
470475 removeNodeModules ( cwd ) ,
471476 editablePkgJson . save ( { ignoreWhitespace : true } )
472477 ] )
478+ // eslint-disable-next-line no-await-in-loop
479+ actualTree = await install ( pkgEnvDetails , { cwd, spinner } )
473480 }
474481 spinner ?. failAndStop (
475482 `Update failed for ${ oldId } in ${ workspaceName } ` ,
0 commit comments