From 5ca6022d007bc83daba1e7297480d37f56554455 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Fri, 29 Jul 2022 22:31:54 +0200 Subject: lint: ensure errors are at least logged (errcheck) Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- completer/completer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'completer/completer.go') diff --git a/completer/completer.go b/completer/completer.go index 83a9c125..4a65ca7d 100644 --- a/completer/completer.go +++ b/completer/completer.go @@ -95,7 +95,7 @@ func (c *Completer) completeAddress(s string) ([]string, string, error) { // programs will do to signal no matches. We don't want to spam the user with // spurious error messages, so we'll ignore any errors that arise at this // point. - defer cmd.Wait() + defer cmd.Wait() //nolint:errcheck // see above completions, err := readCompletions(stdout) if err != nil { -- cgit