Fix 'blind_update' regression
This commit is contained in:
parent
9b30223b09
commit
2acf76e465
2 changed files with 3 additions and 3 deletions
|
|
@ -77,8 +77,8 @@ func (ds Stack) Up(ctx context.Context, progress io.Writer) error {
|
|||
// It returns the exit code of the process.
|
||||
func (ds Stack) Exec(ctx context.Context, io stream.IOStream, service, executable string, args ...string) func() int {
|
||||
compose := []string{"exec"}
|
||||
if io.StdinIsATerminal() {
|
||||
compose = append(compose, "-ti")
|
||||
if !io.StdinIsATerminal() {
|
||||
compose = append(compose, "-T")
|
||||
}
|
||||
|
||||
compose = append(compose, service)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue