From 5a4b6f2cbbdf25d21a1d7831c1d9158575c6657a Mon Sep 17 00:00:00 2001 From: Louis Seubert Date: Sat, 9 May 2026 22:50:22 +0200 Subject: [PATCH] chore: fix warning as error working --- Directory.Build.props | 2 +- src/process/CommandTask.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 3f87bff..0a0e05e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -16,7 +16,7 @@ Recommended true nullable - true + true diff --git a/src/process/CommandTask.cs b/src/process/CommandTask.cs index 4e1887f..a6c3f5c 100644 --- a/src/process/CommandTask.cs +++ b/src/process/CommandTask.cs @@ -8,7 +8,7 @@ namespace Geekeey.Process; /// /// Represents an asynchronous execution of a command. /// -public partial class CommandTask : IDisposable +public sealed partial class CommandTask : IDisposable { private readonly Process _process; @@ -82,7 +82,7 @@ public partial class CommandTask : IDisposable } } -public partial class CommandTask +public sealed partial class CommandTask { /// /// Converts the command task into a regular task. @@ -91,4 +91,4 @@ public partial class CommandTask { return commandTask.Task; } -} \ No newline at end of file +}