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!"