fix(configuration): remove installation-order default value
This commit is contained in:
parent
21c031d8fc
commit
66f0fe3042
|
@ -51,7 +51,6 @@ func InitConfig() {
|
||||||
viper.SetConfigName(".config-mapper")
|
viper.SetConfigName(".config-mapper")
|
||||||
|
|
||||||
viper.SetDefault("storage.location", fmt.Sprintf("%s/config-mapper", os.TempDir()))
|
viper.SetDefault("storage.location", fmt.Sprintf("%s/config-mapper", os.TempDir()))
|
||||||
viper.SetDefault("package-managers.installation-order", []string{"apt", "homebrew"})
|
|
||||||
|
|
||||||
if err := viper.ReadInConfig(); err != nil {
|
if err := viper.ReadInConfig(); err != nil {
|
||||||
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
|
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
|
||||||
|
|
Reference in New Issue