gofmt-git-hook icon indicating copy to clipboard operation
gofmt-git-hook copied to clipboard

for the logic surrounding "found syntax errors", all files up to that point are reported as syntax error files

Open pestophagous opened this issue 5 years ago • 0 comments

I think this is easy to fix.

Just change this: syntaxerrors="${list}${output}\n"

To this: syntaxerrors="${file}${output}\n"

On the following line:

https://github.com/edsrzf/gofmt-git-hook/blob/0cea7572f78ad4b32b9970b87bcbe3eac39d8f96/fmt-check#L13

pestophagous avatar Nov 22 '19 23:11 pestophagous