Moar PR feedback

This commit is contained in:
3wc
2025-08-26 13:15:06 -04:00
parent 7b7477062f
commit 7dd7f763f4

View File

@ -220,15 +220,15 @@ environment. Typically, you can let Abra generate them for you on app creation
} }
if data == "" && !internal.NoInput { if data == "" && !internal.NoInput {
log.Debug("Secret data not provided on command-line, prompting") log.Debug(i18n.G("secret data not provided on command-line, prompting"))
var prompt survey.Prompt var prompt survey.Prompt
if !insertFromFile { if !insertFromFile {
prompt = &survey.Password{ prompt = &survey.Password{
Message: i18n.G("Specify secret value"), Message: i18n.G("specify secret value"),
} }
} else { } else {
prompt = &survey.Input{ prompt = &survey.Input{
Message: i18n.G("Specify secret file"), Message: i18n.G("specify secret file"),
} }
} }
if err := survey.AskOne(prompt, &data); err != nil { if err := survey.AskOne(prompt, &data); err != nil {