File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
browserstack-report-action Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38232,9 +38232,9 @@ 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- // addToSummaryReport = `<html>${addToSummaryReport}</html>`;
38237+ addToSummaryReport = `<html>${addToSummaryReport}</html>`;
3823838238 core.info(`Report HTML: ${addToSummaryReport}`);
3823938239 await summary.addRaw(addToSummaryReport, false);
3824038240 } else {
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ 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- // addToSummaryReport = `<html>${addToSummaryReport}</html>`;
16+ addToSummaryReport = `<html>${ addToSummaryReport } </html>` ;
1717 core . info ( `Report HTML: ${ addToSummaryReport } ` ) ;
1818 await summary . addRaw ( addToSummaryReport , false ) ;
1919 } else {
You can’t perform that action at this time.
0 commit comments