mirror of
https://github.com/jadolg/rocketchat-notification-action.git
synced 2026-12-03 07:55:30 +09:00
Correct code flag behaviour
This commit is contained in:
1 parent
a00e2b9fc1
commit
d43c92f406
1 file changed
+5
-1
+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