1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-16 08:05:19 -04:00

(lint-qml): update output message

This commit is contained in:
purian23
2026-05-16 15:11:54 -04:00
parent fbcc28785a
commit a8ab0b55f3
@@ -119,7 +119,10 @@ for path in "${import_paths[@]}"; do
fi fi
done done
printf 'lint-qml: checking %d entrypoints with %s\n' "${#targets[@]}" "${qmllint_bin}"
if ! output="$("${qmllint_bin}" "${qmllint_args[@]}" "${targets[@]}" 2>&1)"; then if ! output="$("${qmllint_bin}" "${qmllint_args[@]}" "${targets[@]}" 2>&1)"; then
printf 'lint-qml: FAIL\n' >&2
printf '%s\n' "${output}" >&2 printf '%s\n' "${output}" >&2
exit 1 exit 1
fi fi
@@ -127,3 +130,5 @@ fi
if [[ -n "${output}" ]]; then if [[ -n "${output}" ]]; then
printf '%s\n' "${output}" printf '%s\n' "${output}"
fi fi
printf 'lint-qml: PASS (%d entrypoints)\n' "${#targets[@]}"