mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
When running go fmt/vet, they do not exit non-zero if they detect any issues, they only print out information. This wraps go fmt/vet in a script that captures the output to a temp file and checks if anything was written to it. If any was, it prints it out then exits 1.