From 3ab7c27a6c962d9fa5223db3f95a1b4c16fba712 Mon Sep 17 00:00:00 2001 From: Marcus Kok <47163063+Marcusk19@users.noreply.github.com> Date: Mon, 22 Apr 2024 09:18:41 -0400 Subject: [PATCH] specify yml in filetype for config (#30) --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index cb11d6c..89050f2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -64,7 +64,7 @@ func init() { viper.BindEnv("testing") viper.SetDefault("testing", false) - viper.SetConfigName("config") + viper.SetConfigName("config.yml") viper.SetConfigType("yaml") viper.AddConfigPath("./tmp/dotfiles/dotctl") viper.AddConfigPath(filepath.Join(DotfilePath, "dotctl"))