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

Custom write stream fix #203

Merged
merged 3 commits into from
Aug 15, 2016
Merged

Custom write stream fix #203

merged 3 commits into from
Aug 15, 2016

Conversation

doowb
Copy link
Member

@doowb doowb commented Aug 12, 2016

This is a fix and tests for #202.

I added a large file to the fixtures that demonstrates the issue.
I added tests to the file operations test file and the dest test file. These needed to use fs.createReadStream directly since from was writing the entire string to the stream at once.

@phated
Copy link
Member

phated commented Aug 13, 2016

Awesome, you can actually use from with a function to generate a really big file instead of including fixtures.

added `string` stream method to test-streams for streaming a string
updated file-operations and dest tests to use the string stream for a large stream
reverted src tests back to the correct fixture count
@doowb
Copy link
Member Author

doowb commented Aug 13, 2016

@phated I updated the tests to use from to create the read stream.

@phated
Copy link
Member

phated commented Aug 15, 2016

Thanks for all the work on this and finding this bug! I'm going to merge and then tweak a few things.

@phated phated merged commit 7b2a84c into gulpjs:master Aug 15, 2016
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.

2 participants