pkg/package/service/remote.go
Method packageService.ImportPackageFromRemote
has 5 return statements (exceeds 4 allowed). Open
Open
func (ps packageService) ImportPackageFromRemote(url *url.URL) (*domain.Package, error) {
// Get code repo
codeRepo, err := remote.NewCodeRepository(url, ps.authentication)
if err != nil {
return nil, errors.Wrap(err, "get code repository")