From fcce29a6dc26dd896a3578cec700fab4a37248a3 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Mon, 13 Nov 2023 15:41:04 +1100 Subject: [PATCH] fix ReadLineAsync fixes #105 --- src/Directory.Build.props | 2 +- src/Polyfill/PolyfillExtensions_TextReader.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index ec3be25a..eeb6ed58 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,7 @@ - 1.32.0 + 1.32.1 1.0.0 Polyfill true diff --git a/src/Polyfill/PolyfillExtensions_TextReader.cs b/src/Polyfill/PolyfillExtensions_TextReader.cs index 125951cb..c697986d 100644 --- a/src/Polyfill/PolyfillExtensions_TextReader.cs +++ b/src/Polyfill/PolyfillExtensions_TextReader.cs @@ -81,7 +81,7 @@ public static Task ReadLineAsync( { cancellationToken.ThrowIfCancellationRequested(); - return target.ReadToEndAsync(); + return target.ReadLineAsync(); } #endif } \ No newline at end of file