Skip to content

Commit 0d1955d

Browse files
committed
fix some readme typos
1 parent ffb54a4 commit 0d1955d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ request.execute(app)
6464
.get('/')
6565
```
6666

67-
When passing an `app` to `request`; it will automatically open the server for
67+
When passing an `app` to `request.execute()`, it will automatically open the server for
6868
incoming requests (by calling `listen()`) and, once a request has been made
6969
the server will automatically shut down (by calling `.close()`). If you want to
7070
keep the server open, perhaps if you're making multiple requests, you must call
@@ -243,7 +243,7 @@ error parameter when signaling completion.
243243

244244
#### Dealing with the response - Promises
245245

246-
If `Promise` is available, `request()` becomes a Promise capable library -
246+
If `Promise` is available, `request` becomes a Promise capable library -
247247
and chaining of `then`s becomes possible:
248248

249249
```js

0 commit comments

Comments
 (0)