Skip to content

Commit 5ef495c

Browse files
ndeloofglours
authored andcommitted
removed unecessary check
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 9de7e2a commit 5ef495c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/compose/build_bake.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
124124
displayMode := progressui.DisplayMode(options.Progress)
125125
out := options.Out
126126
if out == nil {
127-
if displayMode == progress.ModeAuto && !s.stdout().IsTerminal() {
128-
displayMode = progressui.PlainMode
129-
}
130127
out = s.stdout()
131128
}
132129
display, err := progressui.NewDisplay(makeConsole(out), displayMode)

0 commit comments

Comments
 (0)