Skip to content

Commit

Permalink
Merge pull request #498 from atc0005/fix-errcheck-linting-errors
Browse files Browse the repository at this point in the history
Fix errcheck linting errors
  • Loading branch information
atc0005 authored Jun 1, 2024
2 parents 7aa5b15 + 6101c27 commit 2096687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (ums *userMentionsStringFlag) Set(value string) error {

// Branding is responsible for emitting application name, version and origin
func Branding() {
fmt.Fprintf(flag.CommandLine.Output(), "\n%s %s\n%s\n\n", myAppName, version, myAppURL)
_, _ = fmt.Fprintf(flag.CommandLine.Output(), "\n%s %s\n%s\n\n", myAppName, version, myAppURL)
}

// MessageTrailer generates a branded "footer" for use with submitted Teams
Expand Down Expand Up @@ -410,7 +410,7 @@ func flagsUsage() func() {

Branding()

fmt.Fprintf(flag.CommandLine.Output(), "Usage of \"%s\":\n",
_, _ = fmt.Fprintf(flag.CommandLine.Output(), "Usage of \"%s\":\n",
myBinaryName,
)
flag.PrintDefaults()
Expand Down

0 comments on commit 2096687

Please sign in to comment.