Revert local changes to scripts dir

This commit is contained in:
Matthew Pomes 2024-06-29 19:11:24 -05:00
parent b68900f8aa
commit 4cb3a3a05f
No known key found for this signature in database
GPG Key ID: B8C0D93B8D8FBDB7
1 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ function check_style() {
if ! [ -z "${matches}" ]; then
echo "Lines longer than $n characters were found in the following:"
echo "${matches}"
# exit 1
exit 1
fi
# Ensure there's no trailing whitespace.
@ -55,7 +55,7 @@ function check_style() {
if ! [ -z "${matches}" ]; then
echo "Trailing whitespace was found in the following:"
echo "${matches}"
# exit 1
exit 1
fi
local pattern='tail -n 1 % | grep -q "^$" && echo %'
@ -63,7 +63,7 @@ function check_style() {
if ! [ -z "${matches}" ]; then
echo "Trailing new line(s) found in the following:"
echo "${matches}"
# exit 1
exit 1
fi
}