| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Currently, specifying an `offset` without a `length` throws an ERR_OUT_OF_RANGE error. This provides a more sensible default. This change should only affect cases where no length is specified and a nonzero offset is, which are currently throwing errors.
Not 100% sure if this is all of them.
|
Apologies that I hadn't read the commit message requirements until after making these two commits; GitHub does not make editing commit messages easy. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This commit sets the default length of bytes to read to a value
that doesn't throw an error in the absence of another optional option.
I'm not 100% sure if there are additional places in the code or
documentation which should also be updated due to repetition.