From b8080134a2b1248644c207dd6c62395b30323cff 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 PR-URL: https://github.com/nodejs/node/pull/37039 Reviewed-By: Rich Trott Reviewed-By: Antoine du Hamel Reviewed-By: Gireesh Punathil Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- 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`: