-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad quote escape with "git-bash" (windows) #269
Comments
Hey! We've released new version of lefthook recently. Could you check if there's still a bug with the latest lefthook binary? |
Nop, no changes after lefthook upgrade to 1.0.3 😞 (package @evilmartians/lefthook) |
@mrexox Unfortunately, it doesn't work for me.
But the lefthook uses single quotes which leads to the following error:
|
My
How can I replace |
For those, who experience issues using next.js framework with Dynamic Routes, there is a temporal solution to ignoring files for optional wildcard routing. If you use Typescript and next.js you can use the following regexp:
Which will exclude from the check those files:
Example of
|
Hey, @TotoLastro , @Carduelis ! I have prepared a fix: #314. I hope it will fit in your cases but if you have time and will you can pull the code, build a Or if you have a public repo with the appropriate files and lefthook.yml, just send me a link, and I will test it myself. I am going to release this fix with version 1.1.0 in about a week. |
Hi all,
After installing lefthook from npm, I did some tests.
And I see a problem with quotes (a bad escape ?).
For the example, this is the lefthook.yml :
And this is the result after running the command :
(we can see trailing chars : \ and ")
No problem if I use apostrophes (the echo command prints only the filename)
The text was updated successfully, but these errors were encountered: