From 7ebedfdb589eb91b0fb0ef8cd2a14b4dfe2b85b6 Mon Sep 17 00:00:00 2001 From: Matthew Mario Di Pasquale Date: Sat, 23 Jan 2021 11:45:10 -0500 Subject: [PATCH] doc: add missing comma in tty --- doc/api/tty.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/tty.md b/doc/api/tty.md index 2738d410f3fb3a..3cf37ff9cb7cdf 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -17,7 +17,7 @@ const tty = require('tty'); When Node.js detects that it is being run with a text terminal ("TTY") attached, [`process.stdin`][] will, by default, be initialized as an instance of `tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by -default be instances of `tty.WriteStream`. The preferred method of determining +default, be instances of `tty.WriteStream`. The preferred method of determining whether Node.js is being run within a TTY context is to check that the value of the `process.stdout.isTTY` property is `true`: