fix(deps): update go dependencies (#38194)

Update go deps and fix discovered issues

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot
2026-06-29 15:10:47 +00:00
committed by GitHub
co-authored by silverwind wxiaoguang
parent 4ce63a1d57
commit 5e5f5f3116
6 changed files with 67 additions and 33 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ func Test_CmdKeys(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
// FIXME: this test is not quite right. Each "command run" always re-initializes settings
keysCmd := cmd.NewKeysCommand()
keysCmd.Before = nil // don't re-initialize logger during the test
keysCmd.Before = nil // don't re-initialize logger during the test
keysCmd.HideHelp = true // skip help on usage error, which would re-initialize settings (urfave/cli v3.10)
var stdout, stderr bytes.Buffer
app := &cli.Command{