mirror of
https://github.com/jadolg/rocketchat-notification-action.git
synced 2026-10-09 04:30:45 +09:00
Correct code flag behaviour
This commit is contained in:
+5
-1
@@ -1,2 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
rocketchat-notification -u "$1" -p "$2" -m "$3" -s "$4" -c "$5" -code "$6"
|
if $6 == "true"; then
|
||||||
|
rocketchat-notification -u "$1" -p "$2" -m "$3" -s "$4" -c "$5" -code
|
||||||
|
else
|
||||||
|
rocketchat-notification -u "$1" -p "$2" -m "$3" -s "$4" -c "$5"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user