From f7d77a22ed59cb57670ae3987b783b84b0c08d08 Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Fri, 11 Jan 2019 17:39:53 -0800 Subject: [PATCH] Report all gofmt errors, not just first 10 --- scripts/travis_checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/travis_checker.sh b/scripts/travis_checker.sh index 717198f5f..32e7c85a6 100755 --- a/scripts/travis_checker.sh +++ b/scripts/travis_checker.sh @@ -58,7 +58,7 @@ fi echo "Running gofmt..." gofmt_output="${tmpdir}/gofmt_output.txt" -xargs gofmt -d < "${go_files}" > "${gofmt_output}" 2>&1 +xargs gofmt -d -e < "${go_files}" > "${gofmt_output}" 2>&1 if [ -s "${gofmt_output}" ] then echo "gofmt FAILED!"