Revert "fix travis_checker"

This reverts commit 496c4a2c7e.
pull/263/head
Eugene Kim 6 years ago
parent 496c4a2c7e
commit 92161a2f2d
  1. 10
      scripts/travis_checker.sh

@ -45,11 +45,15 @@ else
ok=false
fi
if [ $(golint ./... | wc | awk '{print $1}') -gt 2 ]; then
echo "Running golint..."
golint_output="${tmpdir}/golint_output.txt"
if xargs golint -set_exit_status < "${go_dirs}" > "${golint_output}" 2>&1
then
echo "golint passed."
else
echo "golint FAILED!"
print_file "${golint_output}" "golint"
ok=false
else
echo "golint passed."
fi
echo "Running gofmt..."

Loading…
Cancel
Save