Skip to content

Commit d957936

Browse files
committedApr 20, 2023
update code with new language and api features
1 parent 0d99046 commit d957936

File tree

99 files changed

+716
-765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+716
-765
lines changed
 

‎Clients/CirrusCiClient/CirrusCi.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ public static class CirrusCi
2323
static CirrusCi()
2424
{
2525
var collection = new ServiceCollection();
26-
collection.AddClient(ExecutionStrategy.CacheAndNetwork)
27-
.ConfigureHttpClient(c => c.BaseAddress = new("https://api.cirrus-ci.com/graphql"));
26+
collection.AddClient(ExecutionStrategy.CacheAndNetwork).ConfigureHttpClient(c => c.BaseAddress = new("https://api.cirrus-ci.com/graphql"));
2827
ServiceProvider = collection.BuildServiceProvider();
2928
}
3029

‎Clients/CompatApiClient/ApiConfig.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ static ApiConfig()
9090
catch (Exception e)
9191
{
9292
Log.Fatal(e);
93-
ReverseDirections = new Dictionary<string, char>();
94-
ReverseReleaseTypes = new Dictionary<string, char>();
93+
ReverseDirections = new();
94+
ReverseReleaseTypes = new();
9595
}
9696
}
9797
}

0 commit comments

Comments
 (0)