fix(lint): handle Close error in completions.go
This commit is contained in:
committed by
Steve Yegge
parent
8c2810e905
commit
d02bde04ad
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user