alexkappa/terraform-provider-auth0

View on GitHub
auth0/internal/validation/validation.go

Summary

Maintainability
A
35 mins
Test Coverage
F
50%

Function IsURLWithNoFragment has 5 return statements (exceeds 4 allowed).
Open

func IsURLWithNoFragment(i interface{}, k string) (warnings []string, errors []error) {

    v, ok := i.(string)
    if !ok {
        errors = append(errors, fmt.Errorf("expected type of %q to be string", k))
Severity: Major
Found in auth0/internal/validation/validation.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status