zephinzer/dev

View on GitHub
pkg/utils/paths.go

Summary

Maintainability
A
40 mins
Test Coverage
C
76%

Function ResolvePath has 6 return statements (exceeds 4 allowed).
Open

func ResolvePath(relativePathFragments ...string) (string, error) {
    fullPath := path.Join(relativePathFragments...)
    if len(fullPath) == 0 {
        fullPath = "."
    }
Severity: Major
Found in pkg/utils/paths.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status