()
| 140 | } |
| 141 | |
| 142 | export function isInteractiveTTY(): boolean { |
| 143 | return process.stdin.isTTY === true && process.stdout.isTTY === true; |
| 144 | } |
| 145 | |
| 146 | export function createPrompter(): Prompter { |
| 147 | if (!isInteractiveTTY()) { |
no outgoing calls
no test coverage detected