mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
removed unecessary check
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
committed by
Guillaume Lours
parent
9de7e2a388
commit
5ef495c898
@@ -124,9 +124,6 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
|
||||
displayMode := progressui.DisplayMode(options.Progress)
|
||||
out := options.Out
|
||||
if out == nil {
|
||||
if displayMode == progress.ModeAuto && !s.stdout().IsTerminal() {
|
||||
displayMode = progressui.PlainMode
|
||||
}
|
||||
out = s.stdout()
|
||||
}
|
||||
display, err := progressui.NewDisplay(makeConsole(out), displayMode)
|
||||
|
||||
Reference in New Issue
Block a user