nikoksr/proji

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

Summary

Maintainability
A
35 mins
Test Coverage

Method packageService.ImportPackageFromConfig has 5 return statements (exceeds 4 allowed).
Open

func (ps packageService) ImportPackageFromConfig(path string) (*domain.Package, error) {
    // Validate file path
    err := isConfigPathValid(path)
    if err != nil {
        return nil, err
Severity: Major
Found in pkg/package/service/config.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status