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

Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
This commit is contained in:
ulyssessouza 2019-12-10 23:37:42 +01:00
parent 9f4f945d4f
commit 3d630c6f7f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func (p *printer) Status() chan *client.SolveStatus {
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)
doneCh := make(chan struct{})