fix color
This commit is contained in:
@@ -4,6 +4,7 @@ RED=`tput setaf 1`
|
||||
GREEN=`tput setaf 2`
|
||||
GREENBOLD=$BOLD$GREEN
|
||||
REDBOLD=$BOLD$RED
|
||||
RESET=`tput init`
|
||||
|
||||
|
||||
git diff --staged | grep -v ^- | grep "console.log" 2> /dev/null 1> /dev/null
|
||||
@@ -25,3 +26,6 @@ then
|
||||
else
|
||||
echo "${GREENBOLD} No unresolved merge"
|
||||
fi
|
||||
|
||||
|
||||
echo $RESET
|
||||
|
||||
Reference in New Issue
Block a user