Kaynağa Gözat

stop spinner

Josh Yan 9 ay önce
ebeveyn
işleme
ee2b9b076c
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      cmd/cmd.go

+ 2 - 0
cmd/cmd.go

@@ -139,6 +139,8 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
 
 			bar.Set(resp.Completed)
 		} else if resp.Quantize != "" {
+			spinner.Stop()
+
 			if quantizeSpin != nil {
 				quantizeSpin.SetMessage(resp.Status)
 			} else {