Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik G. <dominik.goepel@gmx.de>
  • Loading branch information
patak-dev and dominikg committed Mar 28, 2023
1 parent 4135c03 commit fe382f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/index.ts
Expand Up @@ -553,7 +553,7 @@ export function runOptimizeDeps(
}

// Delete temporal path in the background
fsp.rm(temporalPath, { recursive: true, force: true })
if(depsCacheDirPresent) fsp.rm(temporalPath, { recursive: true, force: true })
},
}

Expand Down

0 comments on commit fe382f0

Please sign in to comment.