nikoksr/proji

View on GitHub
pkg/package/service/remote.go

Summary

Maintainability
A
35 mins
Test Coverage

Method packageService.ImportPackageFromRemote has 5 return statements (exceeds 4 allowed).
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")
Severity: Major
Found in pkg/package/service/remote.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status