From a8ab0b55f36b939b091d333e4af2c28f30aebbce Mon Sep 17 00:00:00 2001 From: purian23 Date: Sat, 16 May 2026 15:11:54 -0400 Subject: [PATCH] (lint-qml): update output message --- quickshell/scripts/qmllint-entrypoints.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quickshell/scripts/qmllint-entrypoints.sh b/quickshell/scripts/qmllint-entrypoints.sh index 41c5a740..11b24c12 100755 --- a/quickshell/scripts/qmllint-entrypoints.sh +++ b/quickshell/scripts/qmllint-entrypoints.sh @@ -119,7 +119,10 @@ for path in "${import_paths[@]}"; do fi done +printf 'lint-qml: checking %d entrypoints with %s\n' "${#targets[@]}" "${qmllint_bin}" + if ! output="$("${qmllint_bin}" "${qmllint_args[@]}" "${targets[@]}" 2>&1)"; then + printf 'lint-qml: FAIL\n' >&2 printf '%s\n' "${output}" >&2 exit 1 fi @@ -127,3 +130,5 @@ fi if [[ -n "${output}" ]]; then printf '%s\n' "${output}" fi + +printf 'lint-qml: PASS (%d entrypoints)\n' "${#targets[@]}"