node-modules / compressing

Everything you need for compressing and uncompressing
MIT License
436 stars 34 forks source link

unable to supress size warning of tgz.Stream #70

Closed ZeekoZhu closed 2 years ago

ZeekoZhu commented 2 years ago

https://github.com/node-modules/compressing/blob/321d9d577b97f6a96fbf6d9c6a46655349a790d5/lib/tgz/stream.js#L7-L11

We should create the internal tar stream and gzip stream with the the opts parameter

It's my mistake, the suppressSizeWarning should be used with addEntry, and there is a typo in the warning message, that misled me to the wrong direction.