| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1e2beee commit b808013
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ const tty = require('tty'); | |||
| 17 | 17 | When Node.js detects that it is being run with a text terminal ("TTY") | |
| 18 | 18 | attached, [`process.stdin`][] will, by default, be initialized as an instance of | |
| 19 | 19 | `tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by | |
| 20 | - default be instances of `tty.WriteStream`. The preferred method of determining | ||
| 20 | + default, be instances of `tty.WriteStream`. The preferred method of determining | ||
| 21 | 21 | whether Node.js is being run within a TTY context is to check that the value of | |
| 22 | 22 | the `process.stdout.isTTY` property is `true`: | |
| 23 | 23 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments