mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: conform to stricter printf usage in Go 1.24 (#16330)
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ func (r *RootCmd) gitssh() *serpent.Command {
|
||||
if xerrors.As(err, &exitErr) && exitErr.ExitCode() == 255 {
|
||||
_, _ = fmt.Fprintln(inv.Stderr,
|
||||
"\n"+pretty.Sprintf(
|
||||
cliui.DefaultStyles.Wrap,
|
||||
cliui.DefaultStyles.Wrap, "%s",
|
||||
"Coder authenticates with "+pretty.Sprint(cliui.DefaultStyles.Field, "git")+
|
||||
" using the public key below. All clones with SSH are authenticated automatically 🪄.")+"\n",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user