Commit c6e958d4 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

fs: make 'end' work with ReadStream without 'start'

Make `fs.createReadStream({ end: 42 })` work.

Before this commit, it worked only when used like this:
`fs.createReadStream({ start: 0, end: 42 })` - only when `start` was specified
by the caller.

Fixes #4423.
parent 910e24b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment