Skip to content

Commit

Permalink
chore: Automated dotnet-format update
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 26, 2023
1 parent 14fd122 commit fa98c78
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ public abstract class BaseHandlerTest
public HttpClient GetHttpClient()
{
HttpClient httpClient = default;
// if (System.Environment.OSVersion.Platform != PlatformID.Unix)
// {
//#if (NET452)
// httpClient = new HttpClient();
//#else
// var handler = new WinHttpHandler();
// httpClient = new HttpClient(handler);
//#endif
// }
// else
httpClient = new HttpClient();
// if (System.Environment.OSVersion.Platform != PlatformID.Unix)
// {
//#if (NET452)
// httpClient = new HttpClient();
//#else
// var handler = new WinHttpHandler();
// httpClient = new HttpClient(handler);
//#endif
// }
// else
httpClient = new HttpClient();

#if (!NET452 && !NET48)
httpClient.DefaultRequestVersion = HttpVersion.Version20;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if(NET6_0_OR_GREATER)
#if (NET6_0_OR_GREATER)
using Microsoft.AspNetCore.Http;
using System;
using System.IO;
Expand Down

0 comments on commit fa98c78

Please sign in to comment.