From 0cf29782c407e22bdff41bdaab6457cdb976a45c Mon Sep 17 00:00:00 2001 From: Evgeniy Sokolov Date: Sat, 5 May 2018 22:10:09 +0200 Subject: [PATCH] add debug --- files/check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/check.sh b/files/check.sh index 32dd636..dee4b7c 100644 --- a/files/check.sh +++ b/files/check.sh @@ -35,6 +35,8 @@ OUTPUT=$(cat /tmp/comments.json | (! grep .)); OUTPUT_EXIT_CODE=$? if [ $OUTPUT_EXIT_CODE -ne 0 ]; then + cat /tmp/send_comments.json + echo $TRAVIS_REPO_SLUG $TRAVIS_PULL_REQUEST github_comments_send -file /tmp/send_comments.json -repo $TRAVIS_REPO_SLUG -pr $TRAVIS_PULL_REQUEST EXIT_CODE=1 fi