Skip to content

Commit

Permalink
algocfg(profile): Add file name to config file conflict message. (#5262)
Browse files Browse the repository at this point in the history
  • Loading branch information
winder authored Apr 6, 2023
1 parent f4f5ec6 commit 8068d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/algocfg/profileCommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var setProfileCmd = &cobra.Command{
}
file := filepath.Join(dataDir, config.ConfigFilename)
if _, err := os.Stat(file); !forceUpdate && err == nil {
fmt.Printf("A config.json file already exists for this data directory. Would you like to overwrite it? (Y/n)")
fmt.Printf("A config.json file already exists at %s\nWould you like to overwrite it? (Y/n)", file)
reader := bufio.NewReader(os.Stdin)
resp, err := reader.ReadString('\n')
resp = strings.TrimSpace(resp)
Expand Down

0 comments on commit 8068d8e

Please sign in to comment.