@comeonautomation/reportportal-client
Advanced tools
Comparing version
@@ -394,10 +394,10 @@ /* eslint-disable quotes,no-console,class-methods-use-this */ | ||
) | ||
.then(async (response) => { | ||
.then(response => { | ||
for (let i = 0; i < response.page.totalElements; i++) { | ||
const item_id_url = '/item/uuid/' + response.content[i].id; | ||
await this.restClient | ||
this.restClient | ||
.retrieve(item_id_url) | ||
.then(async (response) => { | ||
.then(response => { | ||
if (Object.values(response.statistics.executions).length === 0) { | ||
await this.restClient | ||
this.restClient | ||
.delete("/item?ids=" + response.id) | ||
@@ -404,0 +404,0 @@ .then(() => { |
{ | ||
"name": "@comeonautomation/reportportal-client", | ||
"version": "2.3.5", | ||
"version": "2.3.6", | ||
"description": "ReportPortal client for node.js", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
152580
-0.01%