@comeonautomation/reportportal-client
Advanced tools
Comparing version
@@ -399,5 +399,5 @@ /* eslint-disable quotes,no-console,class-methods-use-this */ | ||
.retrieve(item_id_url) | ||
.then((response) => { | ||
.then(async (response) => { | ||
if (Object.values(response.statistics.executions).length === 0) { | ||
this.restClient | ||
await this.restClient | ||
.delete("/item?ids=" + response.id) | ||
@@ -420,5 +420,5 @@ .then(() => { | ||
.retrieve("/item?filter.eq.launchId=" + launchIds[item] + "&page.size=100",) | ||
.then((response) => { | ||
.then(async (response) => { | ||
if (response.page.totalElements === 0) { | ||
this.restClient | ||
await this.restClient | ||
.delete("/launch/" + launchIds[item]) | ||
@@ -425,0 +425,0 @@ .then(() => { |
{ | ||
"name": "@comeonautomation/reportportal-client", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "ReportPortal client for node.js", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
152601
0.01%