From 5df541d5ef7032016e75b948e32ba33756433536 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Sun, 26 Jan 2025 22:36:57 +0000 Subject: [PATCH] Resolve gofmt error --- completions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions.go b/completions.go index b404322..390996d 100644 --- a/completions.go +++ b/completions.go @@ -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