Skip to content

Commit

Permalink
EPMRPP-82648 || Remove duplicates in executableItemKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
AliakseiLiasnitski committed Feb 20, 2024
1 parent 1ea1f75 commit 3481a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/report-portal-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ class RPClient {
});
}

const executableItemKeys = itemObj.children.map((tempId) =>
this.executableItemKeyMapByTempId.get(tempId),
const executableItemKeys = Array.from(
new Set(itemObj.children.map((tempId) => this.executableItemKeyMapByTempId.get(tempId))),
);

this.cleanExecutableItemMap(executableItemKeys);
Expand Down

0 comments on commit 3481a7e

Please sign in to comment.