Skip to content

Commit

Permalink
Fix a readme typo (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Apr 19, 2020
1 parent 6f621fd commit b864dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -1049,7 +1049,7 @@ const mergedHandlers = got.extend({

```js
const handler = (options, next) => {
if (options.stream) {
if (options.isStream) {
// It's a Stream
return next(options);
}
Expand Down

0 comments on commit b864dd2

Please sign in to comment.