Skip to content

Commit

Permalink
#192. Eslint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
epam-avramenko committed Jun 20, 2024
1 parent 9623cfa commit b99158d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ class Reporter {
}

runEnd() {
const basePromise =
this.config.reporterOptions.launchId
? this.client.getPromiseFinishAllItems(this.tempLaunchId)
: this.client.finishLaunch(
const basePromise = this.config.reporterOptions.launchId
? this.client.getPromiseFinishAllItems(this.tempLaunchId)
: this.client.finishLaunch(
this.tempLaunchId,
Object.assign(
{
Expand All @@ -87,8 +86,8 @@ class Reporter {
),
);

const finishLaunchPromise = basePromise
.promise.then(() => {
const finishLaunchPromise = basePromise.promise
.then(() => {
const { launch, isLaunchMergeRequired } = this.config.reporterOptions;
if (isLaunchMergeRequired) {
deleteMergeLaunchLockFile(launch, this.tempLaunchId);
Expand Down

0 comments on commit b99158d

Please sign in to comment.