Skip to content

Commit

Permalink
removing extra column from right side panel
Browse files Browse the repository at this point in the history
Signed-off-by: Rogério Peixoto <[email protected]>
  • Loading branch information
rogeriopeixotocx committed Oct 21, 2021
1 parent 6bdfb2b commit 90790a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17882,14 +17882,14 @@ function createComment(results) {

message += "\n\n</td><td>\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</td></tr>\n</table>\n\n";

Expand Down
16 changes: 8 additions & 8 deletions src/commenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ function createComment(results) {

message += "\n\n</td><td>\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</td></tr>\n</table>\n\n";

Expand Down

0 comments on commit 90790a2

Please sign in to comment.