Skip to content

Commit aea5175

Browse files
authored
fix(withCleanup): remove extra tick (#4497)
an unnecessary `await` was introduced in #4496
1 parent 8101744 commit aea5175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)