chore: fix warning as error working

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

View file

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

View file

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