fix(lint): handle Close error in completions.go

This commit is contained in:
beads/crew/giles
2026-01-06 19:37:20 -08:00
committed by Steve Yegge
parent 8c2810e905
commit d02bde04ad

View File

@@ -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