Skip to content

Commit efc4ffe

Browse files
committed
fix(withCleanup): remove extra tick (#4497)
an unnecessary `await` was introduced in #4496
1 parent 4c69a0d commit efc4ffe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/execution/withCleanup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function withCleanup<T>(
3535
await finish();
3636
return result;
3737
}
38-
return { value: await result.value, done: false };
38+
return { value: result.value, done: false };
3939
} catch (error) {
4040
await finish();
4141
throw error;

0 commit comments

Comments
 (0)