Permalink
Browse files

doc: fix typo in api doc of url.format(urlObject)

PR-URL: #17295
Fixes: #17294
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
  • Loading branch information...
pdkovacs authored and gibfahn committed Nov 25, 2017
1 parent b13dab8 commit 46dc2416b9921f812645ccc0485740d3706b5783
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/url.md
View
@@ -145,7 +145,7 @@ added: v0.1.25
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:

0 comments on commit 46dc241

Please sign in to comment.