Skip to content

Commit 46dc241

Browse files
cxn-pkovacsgibfahn
authored andcommitted
doc: fix typo in api doc of url.format(urlObject)
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]>
1 parent b13dab8 commit 46dc241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ added: v0.1.25
145145
The `url.format()` method returns a formatted URL string derived from
146146
`urlObject`.
147147

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

151151
The formatting process operates as follows:

0 commit comments

Comments
 (0)