mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +04:00
Fix shellcheck warnings
This commit is contained in:
parent
cc9d950601
commit
0f9934b0f9
4 changed files with 4 additions and 4 deletions
|
|
@ -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/>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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!"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue