lint: remove superfluous logging

Make lint script be silent unless there's a problem. This line doesn't
work anyway, trying to redirect to fd 0.
This commit is contained in:
booto 2018-10-05 19:35:46 -04:00
parent af2f212039
commit 712f44edd9
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ COMMIT=${1:---cached}
modified_files=$(git diff --name-only --diff-filter=ACMRTUXB $COMMIT)
function java_check() {
echo >&0 "Java changes detected, running Android Studio formatter." || true
"${ANDROID_STUDIO_ROOT}/bin/format.sh" -s "${JAVA_CODESTYLE_FILE}" -R "${java_temp_dir}" >/dev/null
# ignore 'added'/'deleted' files, we copied only files of interest to the tmpdir