Browse Source

cmd: delete duplicated call to sb.Reset() (#7308)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
湛露先生 5 tháng trước cách đây
mục cha
commit
eaaf5d309d
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      cmd/interactive.go

+ 0 - 2
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: