We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5f2fb2 commit e5ff60cCopy full SHA for e5ff60c
src/commands/fix/pnpm-fix.mts
@@ -315,6 +315,10 @@ export async function pnpmFix(
315
316
// actualTree may not be defined on the first iteration of pkgJsonPathsLoop.
317
if (!actualTree) {
318
+ if (!isCi) {
319
+ // eslint-disable-next-line no-await-in-loop
320
+ await removeNodeModules(cwd)
321
+ }
322
const maybeActualTree =
323
isCi && existsSync(path.join(rootPath, 'node_modules'))
324
? // eslint-disable-next-line no-await-in-loop
0 commit comments