Browse Source

stop spinner

Josh Yan 9 tháng trước cách đây
mục cha
commit
ee2b9b076c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 {