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 +}