Skip to content

Commit 4880a2c

Browse files
committed
status variable fix
1 parent 00f0327 commit 4880a2c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

browserstack-report-action/dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38753,7 +38753,8 @@ class ReportService {
3875338753

3875438754
const status = reportData.reportStatus;
3875538755
if (status === constants.REPORT_STATUS.COMPLETED
38756-
|| status === constants.REPORT_STATUS.TESTS_AVAILABLE) {
38756+
|| status === constants.REPORT_STATUS.TEST_AVAILABLE
38757+
|| status === constants.REPORT_STATUS.NOT_AVAILABLE) {
3875738758
return reportData;
3875838759
}
3875938760

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ class ReportService {
5050

5151
const status = reportData.reportStatus;
5252
if (status === constants.REPORT_STATUS.COMPLETED
53-
|| status === constants.REPORT_STATUS.TESTS_AVAILABLE) {
53+
|| status === constants.REPORT_STATUS.TEST_AVAILABLE
54+
|| status === constants.REPORT_STATUS.NOT_AVAILABLE) {
5455
return reportData;
5556
}
5657

0 commit comments

Comments
 (0)