From 9b0f9b4b6c9e10f3f5906e5a4f5b5a73f116ac5b Mon Sep 17 00:00:00 2001 From: Leo Robinovitch Date: Tue, 18 Jun 2024 16:55:30 -0700 Subject: [PATCH] [chore] Upgrade goreleaser and fix linting --- .goreleaser.yaml | 4 +++- cmd/exec.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 249fa8f5..e2259e67 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,6 +4,8 @@ # # Thanks to @neomantra for setup work on this https://github.com/robinovitch61/wander/issues/33 +version: 2 + project_name: wander before: @@ -59,7 +61,7 @@ brews: - name: wander homepage: https://github.com/robinovitch61/wander description: "An efficient terminal application/TUI for interacting with your HashiCorp Nomad cluster." - folder: Formula + directory: Formula commit_author: name: "Leo Robinovitch" email: "leorobinovitch@gmail.com" diff --git a/cmd/exec.go b/cmd/exec.go index d2fcad01..00574daa 100644 --- a/cmd/exec.go +++ b/cmd/exec.go @@ -33,7 +33,7 @@ var ( func execEntrypoint(cmd *cobra.Command, args []string) { if len(args) == 0 { - cmd.Help() + _ = cmd.Help() os.Exit(0) }