From d02bde04ad96bea7e4a33a347d05297e7e2fd2ae Mon Sep 17 00:00:00 2001 From: beads/crew/giles Date: Tue, 6 Jan 2026 19:37:20 -0800 Subject: [PATCH] fix(lint): handle Close error in completions.go --- cmd/bd/completions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bd/completions.go b/cmd/bd/completions.go index 6f860a7c..4200cac3 100644 --- a/cmd/bd/completions.go +++ b/cmd/bd/completions.go @@ -47,7 +47,7 @@ func issueIDCompletion(cmd *cobra.Command, args []string, toComplete string) ([] // If we can't open database, return empty completion return nil, cobra.ShellCompDirectiveNoFileComp } - defer currentStore.Close() + defer func() { _ = currentStore.Close() }() } // Use SearchIssues with IDPrefix filter to efficiently query matching issues