cmd: Fix tests
This commit is contained in:
parent
defa97f560
commit
b4dbd37a01
@ -142,10 +142,10 @@ package cmd
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
{{if .viper}}
|
||||||
"github.com/spf13/cobra"{{if .viper}}
|
|
||||||
"github.com/spf13/viper"
|
|
||||||
homedir "github.com/mitchellh/go-homedir"{{end}}
|
homedir "github.com/mitchellh/go-homedir"{{end}}
|
||||||
|
"github.com/spf13/cobra"{{if .viper}}
|
||||||
|
"github.com/spf13/viper"{{end}}
|
||||||
){{if .viper}}
|
){{if .viper}}
|
||||||
|
|
||||||
var cfgFile string{{end}}
|
var cfgFile string{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user