Skip to content

Commit

Permalink
fix(windows): decrease max cmd length for windows (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Mar 4, 2024
1 parent 756a778 commit 745bcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lefthook/run/prepare_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
// https://support.microsoft.com/en-us/help/830473/command-prompt-cmd-exe-command-line-string-limitation
// https://unix.stackexchange.com/a/120652
maxCommandLengthDarwin = 260000 // 262144
maxCommandLengthWindows = 8000 // 8191
maxCommandLengthWindows = 7000 // 8191, but see issues#655
maxCommandLengthLinux = 130000 // 131072
)

Expand Down

0 comments on commit 745bcc3

Please sign in to comment.