From 5d723a0c4a6156703019b7e95366380ab254e648 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Tue, 28 Jan 2025 10:26:08 +0000 Subject: [PATCH] fix(cli): remove loading indicator when pinging with verbose logs --- cli/ping.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/ping.go b/cli/ping.go index a54687cf2cc84..0e219d5762f86 100644 --- a/cli/ping.go +++ b/cli/ping.go @@ -120,7 +120,9 @@ func (r *RootCmd) ping() *serpent.Command { spin := spinner.New(spinner.CharSets[5], 100*time.Millisecond) spin.Writer = inv.Stderr spin.Suffix = pretty.Sprint(cliui.DefaultStyles.Keyword, " Collecting diagnostics...") - spin.Start() + if !r.verbose { + spin.Start() + } opts := &workspacesdk.DialAgentOptions{}