Fix shellcheck warnings

This commit is contained in:
Christian Muck 2022-05-06 20:43:46 +02:00
parent cc9d950601
commit 0f9934b0f9
4 changed files with 4 additions and 4 deletions

View file

@ -6,4 +6,4 @@
A framework for managing and maintaining multi-language pre-commit hooks.
For more information see: https://pre-commit.com/
For more information see: <https://pre-commit.com/>

View file

@ -15,6 +15,6 @@ if [ -x "$INSTALL_PYTHON" ]; then
elif command -v pre-commit > /dev/null; then
exec pre-commit "${ARGS[@]}"
else
echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2
echo "\`pre-commit\` not found. Did you forget to activate your virtualenv?" 1>&2
exit 1
fi

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
for f in $@; do
for f in "$@"; do
# Non UTF-8 bytes
echo -e '\x01\x97' > "$f"
echo "Modified: $f!"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
for f in $@; do
for f in "$@"; do
# Non UTF-8 bytes
echo -e '\x01\x97' > "$f"
done