Resolve gofmt error

This commit is contained in:
Harald Albers 2025-01-26 22:36:57 +00:00
parent b4f26aebb9
commit 5df541d5ef

View file

@ -455,7 +455,7 @@ func (c *Command) getCompletions(args []string) (*Command, []string, ShellCompDi
}
} else {
directive = ShellCompDirectiveDefault
customShellCompDirective := finalCmd.CompletionOptions.DefaultShellCompDirective
if customShellCompDirective != ShellCompDirectiveDefault {
directive = customShellCompDirective