Skip to content

Commit 46d0432

Browse files
committed
additional brackets remove
1 parent f53efd8 commit 46d0432

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

browserstack-report-action/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38244,7 +38244,7 @@ class ReportProcessor {
3824438244
const addToArtifactReport = this.reportData?.report?.richHtml;
3824538245
const addToArtifactReportCss = this.reportData?.report?.richCss;
3824638246
if (addToArtifactReport) {
38247-
const report = `<!DOCTYPE html> <html><head><style>${addToArtifactReportCss}</style></head> ${addToArtifactReport}}</html>`;
38247+
const report = `<!DOCTYPE html> <html><head><style>${addToArtifactReportCss}</style></head> ${addToArtifactReport}</html>`;
3824838248
const artifactObj = new UploadFileForArtifact(report, 'browserstack-artifacts', 'browserstack-report.html', 'BrowserStack Test Report');
3824938249
await artifactObj.saveReportInFile();
3825038250
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ReportProcessor {
2323
const addToArtifactReport = this.reportData?.report?.richHtml;
2424
const addToArtifactReportCss = this.reportData?.report?.richCss;
2525
if (addToArtifactReport) {
26-
const report = `<!DOCTYPE html> <html><head><style>${addToArtifactReportCss}</style></head> ${addToArtifactReport}}</html>`;
26+
const report = `<!DOCTYPE html> <html><head><style>${addToArtifactReportCss}</style></head> ${addToArtifactReport}</html>`;
2727
const artifactObj = new UploadFileForArtifact(report, 'browserstack-artifacts', 'browserstack-report.html', 'BrowserStack Test Report');
2828
await artifactObj.saveReportInFile();
2929
}

0 commit comments

Comments
 (0)