File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,15 @@ if [ -f "$commit_msg_file" ]; then
9292 changelog_first_line=$( head -n 1 CHANGELOG.md)
9393 current_date=$( date +%Y-%m-%d)
9494 if ! echo " $changelog_first_line " | grep -q " $current_date " ; then
95- echo " ${GREEN} ║${NC} ${GREEN} • Consider updating changelog date to $current_date ${NC} $( printf ' %*s' 10 ' ' ) ${GREEN} ║${NC} "
95+ echo " ${GREEN} ║${NC} ${GREEN} • Consider updating changelog date to $current_date ${NC} $( printf ' %*s' 9 ' ' ) ${GREEN} ║${NC} "
9696 fi
9797 fi
9898
9999 # Check for uncommitted files
100100 uncommitted_files=$( git status --porcelain | wc -l | tr -d ' ' )
101101 if [ " $uncommitted_files " -gt 0 ]; then
102102 if [ " $uncommitted_files " -ge 10 ]; then
103- echo " ${GREEN} ║${NC} ${GREEN} • You have $uncommitted_files uncommitted files${NC} $( printf ' %*s' 27 ' ' ) ${GREEN} ║${NC} "
103+ echo " ${GREEN} ║${NC} ${GREEN} • You have $uncommitted_files uncommitted files${NC} $( printf ' %*s' 26 ' ' ) ${GREEN} ║${NC} "
104104 else
105105 echo " ${GREEN} ║${NC} ${GREEN} • You have $uncommitted_files uncommitted files${NC} $( printf ' %*s' 27 ' ' ) ${GREEN} ║${NC} "
106106 fi
You can’t perform that action at this time.
0 commit comments