make back compatible

This commit is contained in:
2021-04-16 22:02:25 +02:00
parent aa0b81023f
commit 1bbd3879fe
8 changed files with 83 additions and 114 deletions

View File

@@ -31,9 +31,8 @@ var checkCmd = &cobra.Command{
CheckErr(err)
defer lock.Unlock()
config := internal.GetConfig()
err = config.CheckConfig()
CheckErr(err)
CheckErr(internal.CheckConfig())
colors.Success.Println("Everyting is fine.")
},
}