Skip to content

Commit

Permalink
fix typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
smeng9 authored Jan 7, 2025
1 parent 00abe7e commit 90feac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ function getLockfileHash(environment: Environment): string {
if (lockfileFormat.checkPatchesDir) {
// Default of https://github.com/ds300/patch-package
const baseDir = lockfilePath.slice(0, -lockfileFormat.path.length)
const fullPath = path.join(baseDir, lockfileFormat.checkPatchesDir)
const fullPath = path.join(baseDir, lockfileFormat.checkPatchesDir as string)
const stat = tryStatSync(fullPath)
if (stat?.isDirectory()) {
content += stat.mtimeMs.toString()
Expand Down

0 comments on commit 90feac8

Please sign in to comment.