◐ Shell
clean mode source ↗

doc: fix duplicate word "to to" in util.styleText · nodejs/node@f2a1735

Original file line numberDiff line numberDiff line change

@@ -2542,7 +2542,7 @@ changes:

25422542

* `format` {string | Array} A text format or an Array

25432543

of text formats defined in `util.inspect.colors`, or a hex color in `#RGB`

25442544

or `#RRGGBB` form.

2545-

* `text` {string} The text to to be formatted.

2545+

* `text` {string} The text to be formatted.

25462546

* `options` {Object}

25472547

* `validateStream` {boolean} When true, `stream` is checked to see if it can handle colors. **Default:** `true`.

25482548

* `stream` {Stream} A stream that will be validated if it can be colored. **Default:** `process.stdout`.