mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
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:
parent
66a47169d5
commit
41e6094041
3 changed files with 157 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue