fix: failed to compress image for requesting vedm algorithm service

This commit is contained in:
徐聪
2024-03-25 11:34:38 +08:00
parent 4acf9e5dec
commit 4ca4a2f946
7 changed files with 76 additions and 30 deletions
+5 -1
View File
@@ -41,7 +41,11 @@ var listAndroidDevicesCmd = &cobra.Command{
if isDetail {
fmt.Println(format(d.DeviceInfo()))
} else {
fmt.Println(d.Serial(), d.Usb())
if usb, err := d.Usb(); err != nil {
fmt.Println(d.Serial())
} else {
fmt.Println(d.Serial(), usb)
}
}
}
return nil