Skip to content

Commit

Permalink
fix: Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarendorff2 committed Oct 10, 2024
1 parent 2eac849 commit e53b3f5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Fluss.HotChocolate/Fluss.HotChocolate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<RepositoryUrl>https://github.com/atmina/fluss</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Fluss.UnitTest/Fluss.UnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Fluss/Events/EventListenerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public async ValueTask<TEventListener> UpdateTo<TEventListener>(TEventListener e

public TEventListener UpdateWithEvents<TEventListener>(TEventListener eventListener, ReadOnlyCollection<ReadOnlyMemory<EventEnvelope>> events) where TEventListener : EventListener
{
EventListener updatedEventListener = eventListener with {};
EventListener updatedEventListener = eventListener with { };
// ReSharper disable once ForCanBeConvertedToForeach
for (var i = 0; i < events.Count; i++)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Fluss/UnitOfWork/UnitOfWork.Aggregates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private async ValueTask<TEventListener> UpdateAndApplyPublished<TEventListener>(
where TEventListener : EventListener
{
EnsureInstantiated();
eventListener = await _eventListenerFactory!.UpdateTo(eventListener, at ?? await ConsistentVersion()) with {};
eventListener = await _eventListenerFactory!.UpdateTo(eventListener, at ?? await ConsistentVersion()) with { };

foreach (var publishedEventEnvelope in PublishedEventEnvelopes)
{
Expand Down

0 comments on commit e53b3f5

Please sign in to comment.