Skip to content

Commit

Permalink
fix: adjust win32 path length limits
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Nov 25, 2024
1 parent d0daddf commit 7e43495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ export function isPathOverMaxLength(path: string): boolean {
} else if (process.platform === "darwin") {
return path.length + 1 > 1024
} else if (process.platform === "win32") {
return path.length + 1 > 260
return path.length + 1 > 512
}

return path.length + 1 > 260
return path.length + 1 > 512
}

export function isNameOverMaxLength(name: string): boolean {
Expand Down

0 comments on commit 7e43495

Please sign in to comment.