Improve forward errors

This commit is contained in:
timoxa0 2024-06-17 12:31:25 +05:00
parent 3ce4c3a352
commit c303241c8c

View file

@ -2,8 +2,6 @@ package adb
import (
"strings"
"github.com/timoxa0/goadb/internal/errors"
)
type ForwardType int8
@ -59,5 +57,5 @@ func parseForward(str string, deviceSerial string) ([]Forward, error) {
})
}
}
return forwards, errors.Errorf(errors.ParseError, "invalid device forward")
return forwards, nil
}