Skip to content

Commit 17765f7

Browse files
committed
Remove redundant FlushAsync call in WriteAllLinesAsync method
1 parent ae66d5c commit 17765f7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Ramstack.FileSystem.Abstractions/VirtualFileExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ public static async ValueTask WriteAllLinesAsync(this VirtualFile file, IEnumera
335335

336336
foreach (var line in contents)
337337
await writer.WriteLineAsync(line).ConfigureAwait(false);
338-
339-
await writer.FlushAsync().ConfigureAwait(false);
340338
}
341339

342340
/// <summary>

0 commit comments

Comments
 (0)