Skip to content

Commit f20b3b8

Browse files
committed
changes for status
1 parent 7b58d41 commit f20b3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export default class LambdaRestService {
240240
return;
241241
}
242242

243-
const status = 'status: ' + (this._failures > 0 ? 'failed' : 'passed');
243+
const status = (this._failures > 0 ? 'failed' : 'passed');
244244

245245
if (!this._browser.isMultiremote) {
246246
log.info(`Update (reloaded) job with sessionId ${oldSessionId}, ${status}`);
@@ -356,7 +356,7 @@ export default class LambdaRestService {
356356
console.log(testCnt);
357357
}
358358
}
359-
body.status_ind = status > 0 ? 'failed' : 'passed';
359+
body.status_ind = status;
360360
return body;
361361

362362
}

0 commit comments

Comments
 (0)