Skip to content

Commit 578f88d

Browse files
committed
adding html tag again
1 parent a9f8825 commit 578f88d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

browserstack-report-action/dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

browserstack-report-action/src/services/ReportProcessor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)