Skip to content

Commit

Permalink
fix(cli): return ask directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Sep 29, 2024
1 parent 4afe568 commit 8dd85af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8dd85af

Please sign in to comment.