Skip to content

Commit 9b70a11

Browse files
committed
ENABLE Report output
1 parent d499a55 commit 9b70a11

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function report_to_pr {
2222
# Write report back to Pull Request
2323
PR_COMMENT=${1}
2424
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
25+
echo ">> Send Report back to Pull Request..."
2526
# shellcheck disable=SC2001
2627
PR_COMMENT_SANITIZED=$(echo "${PR_COMMENT}" | sed 's/\x1b\[[0-9;]*m//g')
2728
COMMENT_PAYLOAD=$(echo "${PR_COMMENT_SANITIZED}"| jq -R --slurp '{body: .}')
@@ -40,7 +41,7 @@ function run_popeye {
4041
POPEYE_REPORT=$("${POPEYE_HOME}"/popeye "${POPEYE_FLAGS}")
4142
POPEYE_SCORE=$("${POPEYE_HOME}"/popeye "${POPEYE_FLAGS}" -o score)
4243

43-
#echo "${POPEYE_REPORT}"
44+
echo "${POPEYE_REPORT}"
4445

4546
report_to_pr "${POPEYE_REPORT}"
4647

0 commit comments

Comments
 (0)