From 0ddd4cdf9292ce19dd24dcf348403b33ee36d179 Mon Sep 17 00:00:00 2001 From: timo Date: Wed, 17 Apr 2024 00:41:58 +0200 Subject: [PATCH] feat: add functionality to review-pull-request.ts --- src/github/review-pull-request.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/github/review-pull-request.ts b/src/github/review-pull-request.ts index 8ca7ade7..eb492811 100644 --- a/src/github/review-pull-request.ts +++ b/src/github/review-pull-request.ts @@ -39,10 +39,16 @@ export function buildSummaryComment(invalidHunks: Map): string { return ''; } return ( + '
' + + '' + 'Some suggestions could not be made:\n' + + '' + + '\n\n' + //a blank line is required to display markdown in html Array.from(invalidHunks, ([filename, hunks]) => fileErrorMessage(filename, hunks) - ).join('\n') + ).join('\n') + + '\n\n' + + '
' ); }