shellcheck: disable=SC2046 on verify.sh pt2

This commit is contained in:
Juan David Hurtado G
2024-12-15 09:57:30 -05:00
parent 763184ad52
commit fd175fddca

View File

@@ -79,7 +79,7 @@ verify_template() {
## line count must match newline count
# shellcheck disable=SC2046
if [ $(wc -l "${_path}" | awk '{print $1}') -ne $(grep -c printf '\n' "${_path}") ]; then
if [ $(wc -l "${_path}" | awk '{print $1}') -ne $(grep -c $'\n' "${_path}") ]; then
info "[${_hook}]:"
error_notify "${BASTILLE_TEMPLATE}:${_hook} [failed]."
error_notify "Line numbers don't match line breaks."