From f2a1735ed95d3fb4cdb9903fc015aaca110a7046 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Fri, 24 Apr 2026 03:13:21 +0900 Subject: [PATCH] doc: fix duplicate word "to to" in util.styleText PR-URL: https://github.com/nodejs/node/pull/62917 Reviewed-By: Marco Ippolito Reviewed-By: Jacob Smith Reviewed-By: Daeyeon Jeong Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: Stephen Belanger --- doc/api/util.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.md b/doc/api/util.md index 70a3bb07927..2977099157e 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -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`.