From eaaf5d309d0d53c0d99982eaf1b2da5da05f42fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=9B=E9=9C=B2=E5=85=88=E7=94=9F?= Date: Fri, 22 Nov 2024 03:20:48 +0800 Subject: [PATCH] cmd: delete duplicated call to sb.Reset() (#7308) Signed-off-by: zhanluxianshen --- cmd/interactive.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/interactive.go b/cmd/interactive.go index abbf05f4..b495a109 100644 --- a/cmd/interactive.go +++ b/cmd/interactive.go @@ -319,8 +319,6 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error { opts.Messages = append(opts.Messages, newMessage) } fmt.Println("Set system message.") - sb.Reset() - sb.Reset() continue default: