Commit 29b466cf authored by Matt Butcher's avatar Matt Butcher

Merge pull request #460 from technosophos/fix/validate-go

fix(validate-go): show the errors gofmt found
parents 00ad7d1c e1dfb1a4
...@@ -48,6 +48,7 @@ if [[ -n "${failed_fmt}" ]]; then ...@@ -48,6 +48,7 @@ if [[ -n "${failed_fmt}" ]]; then
echo "${red}" echo "${red}"
echo "gofmt check failed:" echo "gofmt check failed:"
echo "$failed_fmt" echo "$failed_fmt"
find_go_files | xargs gofmt -s -d
echo "${reset}" echo "${reset}"
exit_code=1 exit_code=1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment