cloudflared/vendor/github.com/stretchr/testify/.travis.gofmt.sh
2018-07-19 15:02:24 -05:00

8 lines
105 B
Bash
Executable File

#!/bin/bash
if [ -n "$(gofmt -l .)" ]; then
echo "Go code is not formatted:"
gofmt -d .
exit 1
fi