Skip to content

Commit

Permalink
doc: fix typo in api doc of url.format(urlObject)
Browse files Browse the repository at this point in the history
PR-URL: #17295
Fixes: #17294
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
  • Loading branch information
cxn-pkovacs authored and MylesBorins committed Dec 12, 2017
1 parent c901cce commit 524db29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ changes:
The `url.format()` method returns a formatted URL string derived from
`urlObject`.

If `urlObject` is not an object or a string, `url.parse()` will throw a
If `urlObject` is not an object or a string, `url.format()` will throw a
[`TypeError`][].

The formatting process operates as follows:
Expand Down

0 comments on commit 524db29

Please sign in to comment.