From 23f2351543788687f2da6a7bb8b2fd03ffd65df9 Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 2 Feb 2023 10:03:49 +0100 Subject: [PATCH] removed config file location --- internal/config/config.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 6552b00..ac53139 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -27,7 +27,6 @@ func Initialize() { viper.SetConfigName("config") viper.SetConfigType("yaml") viper.AddConfigPath("$HOME/.config/worklog/") - viper.AddConfigPath("$HOME/.config/") workingDirectory, error := os.Getwd() for error == nil && path.Base(workingDirectory) != "worklog" { workingDirectory = path.Dir(workingDirectory)