Browse Source

fix: remove :xdigit:

pull/2872/head
Honza Hommer 5 years ago
parent
commit
74cdcde449
No known key found for this signature in database GPG Key ID: F1A1FA427709F5EF
  1. 2
      notify/teams.sh

2
notify/teams.sh

@ -58,7 +58,7 @@ teams_send() {
_color="$TEAMS_SKIP_COLOR"
;;
esac
_color="$(echo "${_color:-$TEAMS_THEME_COLOR}" | tr -cd '[:xdigit:]')"
_color="$(echo "${_color:-$TEAMS_THEME_COLOR}" | tr -cd 'a-fA-F0-9')"
_data="{\"title\": \"$_subject\","
if [ -n "$_color" ]; then

Loading…
Cancel
Save