From e1a1a90a1c7f90bbb1de8c01595916df0436ab28 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 29 Aug 2024 01:40:34 +0200 Subject: chore(deps): update dependencies --- internal/cli/root_test.go | 2 -- internal/cli/workers/command_test.go | 1 - internal/cli/workers/render.go | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'internal') diff --git a/internal/cli/root_test.go b/internal/cli/root_test.go index 3d8e2411..430ff6e7 100644 --- a/internal/cli/root_test.go +++ b/internal/cli/root_test.go @@ -30,7 +30,6 @@ func TestCommandSubcommands(t *testing.T) { } for _, tt := range cases { - tt := tt t.Run(tt.giveName, func(t *testing.T) { if _, exists := subcommands[tt.giveName]; !exists { assert.Failf(t, "command not found", "command [%s] was not found", tt.giveName) @@ -55,7 +54,6 @@ func TestCommandFlags(t *testing.T) { } for _, tt := range cases { - tt := tt t.Run(tt.giveName, func(t *testing.T) { flag := cmd.Flag(tt.giveName) diff --git a/internal/cli/workers/command_test.go b/internal/cli/workers/command_test.go index b9b3c624..b13de810 100644 --- a/internal/cli/workers/command_test.go +++ b/internal/cli/workers/command_test.go @@ -27,7 +27,6 @@ func TestCommandFlags(t *testing.T) { } for _, tt := range cases { - tt := tt t.Run(tt.giveName, func(t *testing.T) { flag := cmd.Flag(tt.giveName) diff --git a/internal/cli/workers/render.go b/internal/cli/workers/render.go index 1b6a90de..938172a7 100644 --- a/internal/cli/workers/render.go +++ b/internal/cli/workers/render.go @@ -167,7 +167,7 @@ func renderStatus(status string) string { } func renderJobs(number uint64) string { - return humanize.Comma(int64(number)) + return humanize.Comma(int64(number)) //nolint:gosec } func renderAlive(t time.Time) string { -- cgit v1.2.3