Closed ZeekoZhu closed 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
opts
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.
suppressSizeWarning
addEntry
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 theopts
parameterIt's my mistake, the
suppressSizeWarning
should be used withaddEntry
, and there is a typo in the warning message, that misled me to the wrong direction.