Fix incorrect gofmt hint

This commit is contained in:
Janet Kuo 2016-05-26 10:27:45 -07:00
parent d18438406b
commit 0f42def115

View File

@ -41,7 +41,7 @@ find_files() {
\) -name '*.go'
}
GOFMT="gofmt -s"
GOFMT="gofmt -s -w"
bad_files=$(find_files | xargs $GOFMT -l)
if [[ -n "${bad_files}" ]]; then
echo "!!! '$GOFMT' needs to be run on the following files: "