1
0
mirror of https://github.com/ru-de/faq.git synced 2024-11-23 10:52:20 +00:00

empty json

This commit is contained in:
Evgeniy Sokolov 2018-05-05 21:52:58 +02:00
parent 619634698e
commit c88904ea21

View File

@ -35,6 +35,7 @@ OUTPUT=$(cat /tmp/comments.json | (! grep .));
OUTPUT_EXIT_CODE=$?
if [ $OUTPUT_EXIT_CODE -ne 0 ]; then
cat /tmp/send_comments.json
github_comments_send -file /tmp/send_comments.json -repo $TRAVIS_REPO_SLUG -pr $TRAVIS_PULL_REQUEST
EXIT_CODE=1
fi