add warning message when a remote configuration include an another remote config

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours 2025-03-06 16:02:52 +01:00
parent 66a47169d5
commit 41e6094041
3 changed files with 157 additions and 1 deletions

View file

@ -96,6 +96,6 @@ type Pipe struct {
func (u Pipe) Confirm(message string, defaultValue bool) (bool, error) {
_, _ = fmt.Fprint(u.stdout, message)
var answer string
_, _ = fmt.Scanln(&answer)
_, _ = fmt.Fscanln(u.stdin, &answer)
return utils.StringToBool(answer), nil
}