Skip to content

Commit

Permalink
missing ConfigureAwait
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jan 4, 2023
1 parent 049f313 commit c1e43b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Verify/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public static string Extension(this FileStream file) =>
public static async Task<List<T>> ToList<T>(this IAsyncEnumerable<T> target)
{
var list = new List<T>();
await foreach (var item in target)
await foreach (var item in target.ConfigureAwait(false))
{
list.Add(item);
}
Expand Down

0 comments on commit c1e43b0

Please sign in to comment.