mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 10:07:34 +08:00
refactor: replace gadb with optimized version authoried by @appl3s
This commit is contained in:
@@ -26,7 +26,7 @@ var listAndroidDevicesCmd = &cobra.Command{
|
||||
return errors.Wrap(err, "list android devices failed")
|
||||
}
|
||||
|
||||
var deviceList []gadb.Device
|
||||
var deviceList []*gadb.Device
|
||||
// filter by serial
|
||||
for _, d := range devices {
|
||||
if serial != "" && serial != d.Serial() {
|
||||
|
||||
Reference in New Issue
Block a user