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

@@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 2
- name: Fetch master for comparison
- name: Fetch base branch for comparison
run: git fetch --depth=1 origin ${{ github.base_ref }}
- name: Install Required System Packages

View File

@@ -518,7 +518,7 @@ def run_xsscommitlint():
_prepare_report_dir(xsscommitlint_report_dir)
sh(
"{repo_root}/scripts/{xsscommitlint_script} | tee {xsscommitlint_report}".format(
"{repo_root}/scripts/{xsscommitlint_script} -v | tee {xsscommitlint_report}".format(
repo_root=Env.REPO_ROOT,
xsscommitlint_script=xsscommitlint_script,
xsscommitlint_report=xsscommitlint_report,

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