Report all gofmt errors, not just first 10

pull/250/head
Eugene Kim 6 years ago
parent f7c40d3bb4
commit f7d77a22ed
  1. 2
      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!"

Loading…
Cancel
Save