From e6d39e84d887817f550c0016cc6f478706781d55 Mon Sep 17 00:00:00 2001 From: lew Date: Thu, 18 Dec 2025 21:53:40 +0000 Subject: [PATCH] fix(PDA_CONFIG): sets to dir where config.toml should be found rather than directly to a file --- cmd/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index 29676e2..78d39d3 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -137,7 +137,7 @@ func loadConfig() (Config, error) { func configPath() (string, error) { if override := os.Getenv("PDA_CONFIG"); override != "" { - return override, nil + return filepath.Join(override, "config.toml"), nil } scope := gap.NewScope(gap.User, "pda") dir, err := scope.ConfigPath("")