We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please see 'end-of-stream' module's second param options,
eos(stream, {readable: reading, writable: writing}, function (err) { if (err) return callback(err) closed = true callback() })
can you change the codes to
eos(stream, {readable: reading, writable: writing, error: true}, function (err) { if (err) return callback(err) closed = true callback() })
The text was updated successfully, but these errors were encountered:
I’m not sure what you are asking about. Can you clarify?
Sorry, something went wrong.
pump( tar.create({ zlib: { level: 9 }, cwd: output, }, fs.readdirSync(output)), req, (err) => { if (err) { reject(err); } });
The codes above will not reject when 'req' (which req is a http.request) emit a 'hang up error', So i have to change the codes to
tarStream .on('error', e => { req.destroy(); reject(e); }) .pipe(req) .on('error', e => { tarStream.destroy(); reject(e); });
No branches or pull requests
Please see 'end-of-stream' module's second param options,
can you change the codes to
The text was updated successfully, but these errors were encountered: