From a43bd99ad9f15a9f493d25a1a155c63758a772d6 Mon Sep 17 00:00:00 2001 From: Kai Hiller Date: Wed, 6 Jan 2021 10:51:56 +0000 Subject: [PATCH] Apply 2 suggestion(s) to 1 file(s) --- hooks/pre-commit.hook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook index 92db1337..44150f7a 100755 --- a/hooks/pre-commit.hook +++ b/hooks/pre-commit.hook @@ -12,13 +12,13 @@ install_rustfmt() { fi if ! rustup component list|grep rustfmt &> /dev/null; then - echo "Installing rustfmt.." + echo "Installing rustfmt…" rustup component add rustfmt fi } if ! which cargo &> /dev/null || ! cargo fmt --help &> /dev/null; then - echo "Can't check Fractal's code style, because rustfmt could not be run." + echo "Unable to check Fractal’s code style, because rustfmt could not be run." if [ ! -t 1 ]; then # No input is possible