pkg/package/service/config.go
Method packageService.ImportPackageFromConfig
has 5 return statements (exceeds 4 allowed). Open
Open
func (ps packageService) ImportPackageFromConfig(path string) (*domain.Package, error) {
// Validate file path
err := isConfigPathValid(path)
if err != nil {
return nil, err