nuts-foundation/nuts-node

View on GitHub
vdr/cmd/cmd.go

Summary

Maintainability
A
1 hr
Test Coverage
A
92%

Function createCmd has 53 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func createCmd() *cobra.Command {
    // needs to be initialized for pflags, values will be overwritten with defaults from pflag
    var createRequest = api.DIDCreateRequest{
        VerificationMethodRelationship: api.VerificationMethodRelationship{
            AssertionMethod:      new(bool),
Severity: Minor
Found in vdr/cmd/cmd.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status