You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are right. There was a change introduced in 1.5.5 - #590. Lefthook doesn't implicitly pass STDIN to subcommands/scripts. To fix this please use use_stdin: true option explicitly.
I forgot that this might be a breaking change. Do you have problems after this change?
🔧 Summary
pre-push hook fails in v1.5.5 but works in v1.5.4 for some cases
Lefthook version
1.5.5 9b072e6
Steps to reproduce
I have tried the latest version of lefthook in https://github.com/hustcer/setup-nu repo:
The output of 1.5.5 does't look like 1.5.4, notice that this part is missing:
Expected results
1.5.5 should work the same as 1.5.4
Actual results
Possible Solution
Logs / Screenshots
The text was updated successfully, but these errors were encountered: