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:
parent
af2f212039
commit
712f44edd9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue