From 90790a2f8dfd6e496940a5c26ac3fa33e2c69650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Peixoto?= Date: Thu, 21 Oct 2021 13:55:53 +0100 Subject: [PATCH] removing extra column from right side panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rogério Peixoto --- dist/index.js | 16 ++++++++-------- src/commenter.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dist/index.js b/dist/index.js index fdfa257..6c2b070 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17882,14 +17882,14 @@ function createComment(results) { message += "\n\n\n\n"; - message += "| | Metric | Values |\n"; - message += "| --- | --- | --- |\n"; - message += `| ![placeholder](${emptyIcon}) | Files scanned | ${results['files_scanned']}\n`; - message += `| ![placeholder](${emptyIcon}) | Files parsed | ${results['files_parsed']}\n`; - message += `| ![placeholder](${emptyIcon}) | Files failed to scan | ${results['files_failed_to_scan']}\n`; - message += `| ![placeholder](${emptyIcon}) | Total executed queries | ${results['queries_total']}\n`; - message += `| ![placeholder](${emptyIcon}) | Queries failed to execute | ${results['queries_failed_to_execute']}\n`; - message += `| ![placeholder](${emptyIcon}) | Execution time | ${moment(results['end']).diff(moment(results['start']), 'seconds')}\n`; + message += "| Metric | Values |\n"; + message += "| --- | --- |\n"; + message += `| Files scanned ![placeholder](${emptyIcon}) | ${results['files_scanned']}\n`; + message += `| Files parsed ![placeholder](${emptyIcon}) | ${results['files_parsed']}\n`; + message += `| Files failed to scan ![placeholder](${emptyIcon}) | ${results['files_failed_to_scan']}\n`; + message += `| Total executed queries ![placeholder](${emptyIcon}) | ${results['queries_total']}\n`; + message += `| Queries failed to execute ![placeholder](${emptyIcon}) | ${results['queries_failed_to_execute']}\n`; + message += `| Execution time ![placeholder](${emptyIcon}) | ${moment(results['end']).diff(moment(results['start']), 'seconds')}\n`; message += "\n\n\n\n"; diff --git a/src/commenter.js b/src/commenter.js index c938575..18e3b06 100644 --- a/src/commenter.js +++ b/src/commenter.js @@ -31,14 +31,14 @@ function createComment(results) { message += "\n\n\n\n"; - message += "| | Metric | Values |\n"; - message += "| --- | --- | --- |\n"; - message += `| ![placeholder](${emptyIcon}) | Files scanned | ${results['files_scanned']}\n`; - message += `| ![placeholder](${emptyIcon}) | Files parsed | ${results['files_parsed']}\n`; - message += `| ![placeholder](${emptyIcon}) | Files failed to scan | ${results['files_failed_to_scan']}\n`; - message += `| ![placeholder](${emptyIcon}) | Total executed queries | ${results['queries_total']}\n`; - message += `| ![placeholder](${emptyIcon}) | Queries failed to execute | ${results['queries_failed_to_execute']}\n`; - message += `| ![placeholder](${emptyIcon}) | Execution time | ${moment(results['end']).diff(moment(results['start']), 'seconds')}\n`; + message += "| Metric | Values |\n"; + message += "| --- | --- |\n"; + message += `| Files scanned ![placeholder](${emptyIcon}) | ${results['files_scanned']}\n`; + message += `| Files parsed ![placeholder](${emptyIcon}) | ${results['files_parsed']}\n`; + message += `| Files failed to scan ![placeholder](${emptyIcon}) | ${results['files_failed_to_scan']}\n`; + message += `| Total executed queries ![placeholder](${emptyIcon}) | ${results['queries_total']}\n`; + message += `| Queries failed to execute ![placeholder](${emptyIcon}) | ${results['queries_failed_to_execute']}\n`; + message += `| Execution time ![placeholder](${emptyIcon}) | ${moment(results['end']).diff(moment(results['start']), 'seconds')}\n`; message += "\n\n\n\n";