Replace usage of *os.File by console.File interface on printer

Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
pull/207/head
ulyssessouza 5 years ago
parent 9f4f945d4f
commit 3d630c6f7f

@ -30,7 +30,7 @@ func (p *printer) Status() chan *client.SolveStatus {
return p.status return p.status
} }
func NewPrinter(ctx context.Context, out *os.File, mode string) Writer { func NewPrinter(ctx context.Context, out console.File, mode string) Writer {
statusCh := make(chan *client.SolveStatus) statusCh := make(chan *client.SolveStatus)
doneCh := make(chan struct{}) doneCh := make(chan struct{})

Loading…
Cancel
Save