Skip to content

Commit

Permalink
Fix coding style violation..
Browse files Browse the repository at this point in the history
  • Loading branch information
rassilon committed Sep 7, 2023
1 parent cff380d commit d99384a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/RestSharp/RestClient.Async.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ HttpRequestMessage PrepareRequestMessage(HttpMethod httpMethod, Uri url, HttpCon
return message;
}

static bool IsRedirect(RestClientRedirectionOptions options, HttpResponseMessage responseMessage)
{
static bool IsRedirect(RestClientRedirectionOptions options, HttpResponseMessage responseMessage) {
return options.RedirectStatusCodes.Contains(responseMessage.StatusCode);
}

Expand Down

0 comments on commit d99384a

Please sign in to comment.