I think you're overcomplicating this. If we just run `gofmt -l $GOFMTPATH`, it'll exit the script on failure.