diff --git a/tests/quota/awsNodeSdk.js b/tests/quota/awsNodeSdk.js index 8fb73d4ce3..b65f378122 100644 --- a/tests/quota/awsNodeSdk.js +++ b/tests/quota/awsNodeSdk.js @@ -345,11 +345,10 @@ function multiObjectDelete(bucket, keys, size, callback) { await new Promise((resolve, reject) => { metadata.setup(err => { if (err) { - return reject(err); + reject(err); } wait(2000, resolve); }); - return; }); });