chore: fix warning as error working

This commit is contained in:
Louis Seubert 2026-05-09 22:50:22 +02:00
commit 22e3997793
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
<AnalysisMode>Recommended</AnalysisMode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<WarningsAsErrors>nullable</WarningsAsErrors>
<WarningsAsErrors Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</WarningsAsErrors>
<TreatWarningsAsErrors Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Label="NuGet Package Info">

View file

@ -8,7 +8,7 @@ namespace Geekeey.Process;
/// <summary>
/// Represents an asynchronous execution of a command.
/// </summary>
public partial class CommandTask<TResult> : IDisposable
public sealed partial class CommandTask<TResult> : IDisposable
{
private readonly Process _process;
@ -82,7 +82,7 @@ public partial class CommandTask<TResult> : IDisposable
}
}
public partial class CommandTask<TResult>
public sealed partial class CommandTask<TResult>
{
/// <summary>
/// Converts the command task into a regular task.