sys - amend xtract
This commit is contained in:
parent
78578cf05c
commit
f88c96fece
|
@ -26,8 +26,8 @@ func NewXtract(dir string, outFile string) *Xtract {
|
|||
return &Xtract{dir: dir, outFile: outFile, withBar: false}
|
||||
}
|
||||
|
||||
func (x *Xtract) AddBar(bar *io.Writer) {
|
||||
x.bar = bar
|
||||
func (x *Xtract) AddBar(bar io.Writer) {
|
||||
x.bar = &bar
|
||||
x.withBar = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user