@@ -287,11 +287,12 @@ export async function pnpmFix(
287287
288288 // actualTree may not be defined on the first iteration of pkgJsonPathsLoop.
289289 if ( ! actualTree ) {
290- const maybeActualTree = isCi && existsSync ( path . join ( rootPath , 'node_modules' ) )
291- ? // eslint-disable-next-line no-await-in-loop
292- await getActualTree ( cwd )
293- : // eslint-disable-next-line no-await-in-loop
294- await install ( pkgEnvDetails , { cwd, spinner } )
290+ const maybeActualTree =
291+ isCi && existsSync ( path . join ( rootPath , 'node_modules' ) )
292+ ? // eslint-disable-next-line no-await-in-loop
293+ await getActualTree ( cwd )
294+ : // eslint-disable-next-line no-await-in-loop
295+ await install ( pkgEnvDetails , { cwd, spinner } )
295296 const maybeLockfileContent = maybeActualTree
296297 ? // eslint-disable-next-line no-await-in-loop
297298 await readPnpmLockfile ( lockfilePath )
@@ -358,7 +359,9 @@ export async function pnpmFix(
358359 vulnerableVersionRange,
359360 } of infos . values ( ) ) {
360361 if ( semver . gte ( oldVersion , firstPatchedVersionIdentifier ) ) {
361- debugLog ( `${ oldId } is >= ${ firstPatchedVersionIdentifier } , skipping.` )
362+ debugLog (
363+ `${ oldId } is >= ${ firstPatchedVersionIdentifier } , skipping.` ,
364+ )
362365 continue infosLoop
363366 }
364367 const newVersion = findBestPatchVersion (
0 commit comments