mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-16 16:15:23 -04:00
(lint-qml): update output message
This commit is contained in:
@@ -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[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user