fix: Ensure promise is returned where applicable

This commit is contained in:
Marius Begby committed 2023-08-28 15:31:54 +02:00
1 parent f231c53fe8
commit 14cb6b4936
23 files changed
+86 -125

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export const startLoadTest = async ({ client, executionId }: StartLoadTestParams
if (!loadTestOptions.enabled) {
logger.debug('Load test is disabled in options, cancelling.');
return;
return Promise.resolve();
}
const channelIds = loadTestOptions.channelIdsToJoin;