Skip to content

Commit

Permalink
Fix coding style violation..
Browse files Browse the repository at this point in the history
  • Loading branch information
rassilon authored and Sreeshail1 committed Nov 2, 2023
1 parent 90f9053 commit a4ce540
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 @@ -323,8 +323,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 a4ce540

Please sign in to comment.