sys - amend xtract

This commit is contained in:
Mahdi Abu Yasmine 2023-11-12 02:09:37 +01:00
parent 78578cf05c
commit f88c96fece

View File

@ -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
}