mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Remove double space character
This commit is contained in:
parent
4caea677c6
commit
b579c53e32
2 changed files with 2 additions and 2 deletions
|
|
@ -15,6 +15,6 @@ if [ -x "$INSTALL_PYTHON" ]; then
|
||||||
elif command -v pre-commit > /dev/null; then
|
elif command -v pre-commit > /dev/null; then
|
||||||
exec pre-commit "${ARGS[@]}"
|
exec pre-commit "${ARGS[@]}"
|
||||||
else
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -291,7 +291,7 @@ def test_environment_not_sourced(tempdir_factory, store):
|
||||||
ret, out = git_commit(env=env, check=False)
|
ret, out = git_commit(env=env, check=False)
|
||||||
assert ret == 1
|
assert ret == 1
|
||||||
assert out == (
|
assert out == (
|
||||||
'`pre-commit` not found. '
|
'`pre-commit` not found. '
|
||||||
'Did you forget to activate your virtualenv?\n'
|
'Did you forget to activate your virtualenv?\n'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue