mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 02:42:44 +00:00
fix: check empty
This commit is contained in:
+2
-1
@@ -2,7 +2,8 @@
|
||||
|
||||
set -eu
|
||||
|
||||
export TELEGRAM_MESSAGE="$*"
|
||||
export GITHUB="true"
|
||||
|
||||
[ -n "$*" ] && export TELEGRAM_MESSAGE="$*"
|
||||
|
||||
/bin/drone-telegram
|
||||
|
||||
Reference in New Issue
Block a user