Explorar el Código

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

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
湛露先生 hace 5 meses
padre
commit
eaaf5d309d
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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: