Skip to content
New issue

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

Add a third argument to SAXStream.prototype.end #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lovasoa
Copy link

@lovasoa lovasoa commented Jan 1, 2015

Fixes #143.
The end method should accept a third argument that is a callback to call when the stream is finished.
http://nodejs.org/api/stream.html#stream_writable_end_chunk_encoding_callback

Fixes isaacs#143.
The end method should accept a third argument that is a callback to call when the stream is finished.
http://nodejs.org/api/stream.html#stream_writable_end_chunk_encoding_callback
@isaacs
Copy link
Owner

isaacs commented Apr 21, 2015

Needs a test.

@z3dev
Copy link

z3dev commented Jan 17, 2019

Didn’t read the contribution guide, now did ya.

NO PATCHES WITHOUT A TEST

TEST MUST PASS WITH THE PATCH.

TEST MUST FAIL WITHOUT THE PATCH.

NO EXCEPTIONS.

@lovasoa
Copy link
Author

lovasoa commented Jan 17, 2019

Well, there is a bug in the library, I reported it and proposed a fix 4 years ago. If you want to add a test, go for it. If you want to keep the bug, keep it.

@z3dev : I'm not sure using this kind of language will help. Of course I didn't read the contributor guide, because it did not exist at the time I made this pull request.

@z3dev
Copy link

z3dev commented Jan 18, 2019

@lovasoa Sorry about that... The guidelines are pretty clear, but I didn’t know those didn’t exit back in 2015. My bad.

We JSCAD are also a BIG fan of this library. I’m really trying to get a few more owners/contributors added so this library can move forward. It’s already rock solid, so just a few points of maintenance would be easy to manage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SaxStream.prototype.end accepts only two arguments
3 participants