fix color

This commit is contained in:
Marc BARBIER
2021-06-29 10:00:59 +02:00
parent ac3c0fc744
commit 124f952b10
+4
View File
@@ -4,6 +4,7 @@ RED=`tput setaf 1`
GREEN=`tput setaf 2` GREEN=`tput setaf 2`
GREENBOLD=$BOLD$GREEN GREENBOLD=$BOLD$GREEN
REDBOLD=$BOLD$RED REDBOLD=$BOLD$RED
RESET=`tput init`
git diff --staged | grep -v ^- | grep "console.log" 2> /dev/null 1> /dev/null git diff --staged | grep -v ^- | grep "console.log" 2> /dev/null 1> /dev/null
@@ -25,3 +26,6 @@ then
else else
echo "${GREENBOLD} No unresolved merge" echo "${GREENBOLD} No unresolved merge"
fi fi
echo $RESET