From 15ed0534ba2b30d2ce61eab3a76ae240f6dcb982 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 12 Oct 2022 09:26:20 +0200 Subject: [PATCH] Improve the formating + remove debug message --- .github/workflows/GnuComment.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/GnuComment.yml b/.github/workflows/GnuComment.yml index 67c9deb5e..938897f09 100644 --- a/.github/workflows/GnuComment.yml +++ b/.github/workflows/GnuComment.yml @@ -45,14 +45,11 @@ jobs: var fs = require('fs'); var issue_number = Number(fs.readFileSync('./NR')); var content = fs.readFileSync('./result.txt'); - console.log(content); - console.log(content.toString().trim()); - console.log(content.toString().trim().length); if (content.toString().trim().length > 7) { // 7 because we have backquote + \n await github.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: issue_number, - body: 'GNU testsuite comparison:\n```' + content + '\n```' + body: 'GNU testsuite comparison:\n```\n' + content + '```' }); }