Allow blank descriptions
This commit is contained in:
parent
844e5b0c7f
commit
a4bf19d386
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ from_sha=$( /bin/echo "$payload" | jq -r '.head.sha')
|
|||
from_user=$(/bin/echo "$payload" | jq -r '.head.user.login')
|
||||
from_desc=$(/bin/echo "$payload" | jq -r '.body')
|
||||
ssh_url=$( /bin/echo "$payload" | jq -r '.head.repo.ssh_url')
|
||||
if [ "x" = "x$payload" -o "x" = "x$to_branch" -o "x" = "x$from_ref" -o "x" = "x$from_sha" -o "x" = "x$from_user" -o "x" = "x$from_desc" -o "x" = "x$ssh_url" ] ; then
|
||||
if [ "x" = "x$payload" -o "x" = "x$to_branch" -o "x" = "x$from_ref" -o "x" = "x$from_sha" -o "x" = "x$from_user" -o "x" = "x$ssh_url" ] ; then
|
||||
echo "Something is missing"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue