From 8dd85afa150e1059796358f43de9c084d844fccd Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Mon, 30 Sep 2024 01:29:58 +0500 Subject: [PATCH] fix(cli): return ask directory path --- cli/setup/setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/setup/setup.go b/cli/setup/setup.go index 5e1e2217..c25b78fb 100644 --- a/cli/setup/setup.go +++ b/cli/setup/setup.go @@ -168,8 +168,8 @@ func SaveConfig(config IConfig, defaultFilename string, requiredConfigPath strin configDirectory = filepath.Join(configDirectory, "semaphore") } + askValue("Config output directory", configDirectory, &configDirectory) configPath = filepath.Join(configDirectory, defaultFilename) - askValue("Config output file", configPath, &configPath) } else { configPath = requiredConfigPath }