build: run xss-commit-linter verbosely

This commit is contained in:
Ned Batchelder
2021-10-18 14:50:11 -04:00
committed by Ned Batchelder
parent 24544aa395
commit d1aa75e3f2
3 changed files with 3 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ for i in "$@"; do
shift # past argument=value
;;
-v|--verbose)
VERBOSE=true
show_verbose
;;
-h|--help|*)
# help or unknown option
@@ -85,9 +85,6 @@ if [ "$diff_files" = "" ]; then
echo ""
echo "No files linted."
else
if [ ${VERBOSE} ] ; then
show_verbose
fi
for f in $diff_files; do
echo ""
echo "Linting $f:"