From a4ce540fc6bc317fd637aaa6d3715a089b184758 Mon Sep 17 00:00:00 2001 From: tuttb Date: Thu, 7 Sep 2023 02:40:46 -0400 Subject: [PATCH] Fix coding style violation.. --- src/RestSharp/RestClient.Async.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/RestSharp/RestClient.Async.cs b/src/RestSharp/RestClient.Async.cs index af3e0d07f..862fad3cb 100644 --- a/src/RestSharp/RestClient.Async.cs +++ b/src/RestSharp/RestClient.Async.cs @@ -323,8 +323,7 @@ private static class HttpUtilities { return message; } - static bool IsRedirect(RestClientRedirectionOptions options, HttpResponseMessage responseMessage) - { + static bool IsRedirect(RestClientRedirectionOptions options, HttpResponseMessage responseMessage) { return options.RedirectStatusCodes.Contains(responseMessage.StatusCode); }