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