File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
browserstack-report-action Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -38232,9 +38232,10 @@ class ReportProcessor {
3823238232 const { summary } = core;
3823338233 await summary.addHeading('BrowserStack Test Report');
3823438234
38235- const addToSummaryReport = this.reportData?.report?.basicHtml;
38235+ let addToSummaryReport = this.reportData?.report?.basicHtml;
3823638236 if (addToSummaryReport) {
38237- await summary.addRaw(`<html>${addToSummaryReport}</html>`);
38237+ addToSummaryReport = `<html> ${addToSummaryReport} </html>`;
38238+ await summary.addRaw(addToSummaryReport);
3823838239 } else {
3823938240 await summary.addRaw('⚠️ No report content available');
3824038241 }
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ class ReportProcessor {
1111 const { summary } = core ;
1212 await summary . addHeading ( 'BrowserStack Test Report' ) ;
1313
14- const addToSummaryReport = this . reportData ?. report ?. basicHtml ;
14+ let addToSummaryReport = this . reportData ?. report ?. basicHtml ;
1515 if ( addToSummaryReport ) {
16- await summary . addRaw ( `<html>${ addToSummaryReport } </html>` ) ;
16+ addToSummaryReport = `<html> ${ addToSummaryReport } </html>` ;
17+ await summary . addRaw ( addToSummaryReport ) ;
1718 } else {
1819 await summary . addRaw ( '⚠️ No report content available' ) ;
1920 }
You can’t perform that action at this time.
0 commit comments