Skip to content

Commit af0dc0f

Browse files
committed
Fix dangling parenthesis
1 parent 71ff7da commit af0dc0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ Calling `needle()` directly returns a Promise. Besides `method` and `url`, all p
149149
needle('get', 'http://some.url.com')
150150
.then(function(resp) { console.log(resp.body) })
151151
.catch(function(err) { console.error(err) })
152-
})
153152
```
154153

155154
Except from the above, all of Needle's request methods return a Readable stream, and both `options` and `callback` are optional. If passed, the callback will return three arguments: `error`, `response` and `body`, which is basically an alias for `response.body`.

0 commit comments

Comments
 (0)