pre-commit-hooks icon indicating copy to clipboard operation
pre-commit-hooks copied to clipboard

shfmt hook whitespace in filename

Open ahousseini opened this issue 3 years ago • 0 comments

Hi

Thanks for your work!

It seems the shfmt hook does not respect whitespaces in filename:

[RUN] shfmt -w -i 2 Test/Script Test1.sh Test/Script Test2.sh
lstat Test/Script: no such file or directory
lstat Test1.sh: no such file or directory
lstat Test/Script: no such file or directory
lstat Test2.sh: no such file or directory

ahousseini avatar Apr 14 '21 10:04 ahousseini