From 9987eae2903fd4428df0587932dd4d6fc3fa1adf Mon Sep 17 00:00:00 2001 From: Adam Wright Date: Sat, 18 Feb 2017 22:11:55 -0800 Subject: [PATCH] --color=always has to be after the command --- hooks/pre-push | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/pre-push b/hooks/pre-push index f8f0442..e5bf745 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -77,10 +77,10 @@ run_cargo() { if [ "$2" != "" ]; then printf "${PREFIX} $VERB on $2... " if [ "$2" != "nightly" ]; then - try_run rustup run $2 cargo --color=always $1 + try_run rustup run $2 cargo $1 --color=always else - try_run rustup run nightly cargo --color=always $1 --features unstable - try_run rustup run nightly cargo --color=always $1 --features unstable,tls + try_run rustup run nightly cargo $1 --color=always --features unstable + try_run rustup run nightly cargo $1 --color=always --features unstable,tls fi else printf "${PREFIX} $VERB... "