diff --git a/lib/helpers.bash b/lib/helpers.bash index b630947b..7d75bab4 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -225,7 +225,7 @@ _bash-it-update-() { cd "${BASH_IT}" || return 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 BASH_IT_REMOTE="origin"