Skip to content

Commit 9bb0d61

Browse files
authored
Update ReportProcessor.js
1 parent 3ac5f2e commit 9bb0d61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class ReportProcessor {
1212
await summary.addHeading('BrowserStack Test Report');
1313

1414
let addToSummaryReport = this.reportData?.report?.basicHtml;
15-
addToSummaryReport = `<html> ${addToSummaryReport} </html>`;
16-
core.info(`Report HTML: ${addToSummaryReport}`);
1715
if (addToSummaryReport) {
16+
addToSummaryReport = `<html> ${addToSummaryReport} </html>`;
17+
core.info(`Report HTML: ${addToSummaryReport}`);
1818
await summary.addRaw(addToSummaryReport);
1919
} else {
2020
await summary.addRaw('⚠️ No report content available');

0 commit comments

Comments
 (0)