rclone/vendor/github.com/stretchr/testify/.travis.gofmt.sh

8 lines
105 B
Bash
Raw Normal View History

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