create new dir fix
This commit is contained in:
parent
e7a9e1092b
commit
f65d0d1ee1
4 changed files with 19 additions and 10 deletions
|
|
@ -26,7 +26,7 @@ var testYggdrasilCmd = &cobra.Command{
|
|||
v, err := cfg.LoadViperConfig(defaultConfigPath)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "не удалось прочитать конфигурацию viper: %v", err)
|
||||
os.Exit(1)
|
||||
return err
|
||||
}
|
||||
config, err := cfg.ReadConfig(defaultConfigPath)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue