From 6b3dbc50cb2b3513d280292eec1ce4090795966d Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 3 Sep 2024 13:29:19 +1000 Subject: [PATCH] refactor(dir): remove redundant code Signed-off-by: Jason --- dir/path.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/dir/path.go b/dir/path.go index 17cc9c2f..a08a9a24 100644 --- a/dir/path.go +++ b/dir/path.go @@ -87,8 +87,6 @@ func userConfigDirPath() string { // fallback to current directory UserConfigDir = "." + notation return UserConfigDir - UserConfigDir = "." + notation - return UserConfigDir } // set user config UserConfigDir = filepath.Join(userDir, notation)