fishi0x01/vsh

View on GitHub
cli/add.go

Summary

Maintainability
A
0 mins
Test Coverage

Method AddCommand.addKeyValue has 5 return statements (exceeds 4 allowed).
Wontfix

func (cmd *AddCommand) addKeyValue(path string, key string, value string) error {
    secret, err := cmd.client.Read(path)
    if err != nil {
        return fmt.Errorf("Read failed: %s", err)
    }
Severity: Major
Found in cli/add.go - About 35 mins to fix

    2: cannot find package "github.com/fishi0x01/vsh/client" in any of:
    Invalid

        "github.com/fishi0x01/vsh/client"
    Severity: Minor
    Found in cli/add.go by govet

    There are no issues that match your filters.

    Category
    Status