mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: fix typo in zlib.md
Change 'methods with throw an error' to 'methods will throw an error'. PR-URL: https://github.com/nodejs/node/pull/9123 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
This commit is contained in:
committed by
James M Snell
parent
115bb04c01
commit
1fcd088fd9
@@ -113,7 +113,7 @@ http.createServer((request, response) => {
|
||||
}).listen(1337);
|
||||
```
|
||||
|
||||
By default, the `zlib` methods with throw an error when decompressing
|
||||
By default, the `zlib` methods will throw an error when decompressing
|
||||
truncated data. However, if it is known that the data is incomplete, or
|
||||
the desire is to inspect only the beginning of a compressed file, it is
|
||||
possible to suppress the default error handling by changing the flushing
|
||||
|
||||
Reference in New Issue
Block a user