doc: fix duplicate word "to to" in util.styleText

PR-URL: https://github.com/nodejs/node/pull/62917
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This commit is contained in:
Daijiro Wachi authored and Antoine du Hamel committed 2026-05-07 18:14:57 +02:00
1 parent 4a506acd16
commit f2a1735ed9
1 file changed
+1 -1
+1 -1
View File
@@ -2542,7 +2542,7 @@ changes:
* `format` {string | Array} A text format or an Array
of text formats defined in `util.inspect.colors`, or a hex color in `#RGB`
or `#RRGGBB` form.
* `text` {string} The text to to be formatted.
* `text` {string} The text to be formatted.
* `options` {Object}
* `validateStream` {boolean} When true, `stream` is checked to see if it can handle colors. **Default:** `true`.
* `stream` {Stream} A stream that will be validated if it can be colored. **Default:** `process.stdout`.