diff options
author | Valery Piashchynski <[email protected]> | 2024-08-29 01:40:34 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2024-08-29 01:40:34 +0200 |
commit | e1a1a90a1c7f90bbb1de8c01595916df0436ab28 (patch) | |
tree | c9713a846eb25423525a97e6bd966bad72a22978 /internal | |
parent | f3fb3c106db97ebbda607e98308c635e36728e58 (diff) |
chore(deps): update dependencies
Diffstat (limited to 'internal')
-rw-r--r-- | internal/cli/root_test.go | 2 | ||||
-rw-r--r-- | internal/cli/workers/command_test.go | 1 | ||||
-rw-r--r-- | internal/cli/workers/render.go | 2 |
3 files changed, 1 insertions, 4 deletions
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 { |