diff --git a/src/execution/withCleanup.ts b/src/execution/withCleanup.ts index 79f92d55c1..8c93b5de39 100644 --- a/src/execution/withCleanup.ts +++ b/src/execution/withCleanup.ts @@ -35,7 +35,7 @@ export function withCleanup( await finish(); return result; } - return { value: await result.value, done: false }; + return { value: result.value, done: false }; } catch (error) { await finish(); throw error;