We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f113b commit 1754609Copy full SHA for 1754609
bin/helpers/sync/syncSpecsLogs.js
@@ -196,8 +196,8 @@ let showSpecsStatus = (data, statusCode) => {
196
// Below block is for printing build details, return if non 200 status code
197
if ("buildData" in specData) {
198
const buildDetails = specData.buildData;
199
- const totalDuration = buildDetails.duration?.total_duration
200
- const parallels = buildDetails.parallels
+ const totalDuration = (utils.isUndefined(buildDetails.duration)) ? "-" : buildDetails.duration.total_duration
+ const parallels = (utils.isUndefined(buildDetails.parallels)) ? "-" : buildDetails.parallels
201
specSummary.duration = totalDuration;
202
specSummary.parallels = parallels;
203
} else {
0 commit comments