enforce code style with Boolean

This commit is contained in:
Syping 2025-11-23 06:22:48 +01:00
parent c131a7532e
commit 4cc95309a2
3 changed files with 8 additions and 8 deletions

View file

@ -53,8 +53,8 @@ internal static partial class Commands {
Description = "Path Command"
};
commandArgument.CompletionSources.Add(_ => [
new ("register"),
new ("unregister")]);
new("register"),
new("unregister")]);
commandArgument.Validators.Add(result => {
String[] commands = ["register", "unregister"];
String command = result.GetValueOrDefault<String>();