From 6b02c7a78ab5ea1d392da2893a78c28c06e161fc Mon Sep 17 00:00:00 2001 From: cbrgm Date: Tue, 4 Jun 2024 19:13:50 +0200 Subject: [PATCH] fix: linter happiness --- cmd/structuresmith/lock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/structuresmith/lock.go b/cmd/structuresmith/lock.go index 7db4c06..df1c78c 100644 --- a/cmd/structuresmith/lock.go +++ b/cmd/structuresmith/lock.go @@ -158,7 +158,7 @@ func (d DiffResult) String() string { for _, key := range keys { status := fileMap[key] prefix := getColorAndPrefix(status) - fmt.Fprintf(writer, "%s\t%s\n", prefix, key) + _, _ = fmt.Fprintf(writer, "%s\t%s\n", prefix, key) } if err := writer.Flush(); err != nil {