helpers (improvement): updated message

pull/1890/head
Gurkirat Singh 2021-06-13 04:11:34 +05:30
parent b0706ff7f3
commit 7225c4fae7
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ _bash-it-update-() {
cd "${BASH_IT}" || return cd "${BASH_IT}" || return
DIFF=$(git diff --name-status) DIFF=$(git diff --name-status)
[ -n "$DIFF" ] && echo -e "Either commit your changes using git commit, or clean them...\n$DIFF" && return 1 [ -n "$DIFF" ] && echo -e "Local changes detected in bash-it directory. Clean '$BASH_IT' directory to proceed.\n$DIFF" && return 1
if [ -z "$BASH_IT_REMOTE" ]; then if [ -z "$BASH_IT_REMOTE" ]; then
BASH_IT_REMOTE="origin" BASH_IT_REMOTE="origin"