1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 19:31:58 +00:00

feat(changelog): change style of BREAKING CHANGES header

This commit is contained in:
Marc Cornellà 2021-09-06 13:30:16 +02:00
parent 97b4ab76b8
commit 7336ebcd8f
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -285,8 +285,9 @@ function display-release {
(( $#breaking != 0 )) || return 0
case "$output" in
text) fmt:header "\e[31mBREAKING CHANGES" 3 ;;
raw) fmt:header "BREAKING CHANGES" 3 ;;
text|md) fmt:header "BREAKING CHANGES" 3 ;;
md) fmt:header "BREAKING CHANGES" 3 ;;
esac
local hash subject