source:
trip-planner-front/node_modules/is-interactive/index.js@
76712b2
Last change on this file since 76712b2 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 180 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | 'use strict'; |
2 | ||
3 | module.exports = ({stream = process.stdout} = {}) => { | |
4 | return Boolean( | |
5 | stream && stream.isTTY && | |
6 | process.env.TERM !== 'dumb' && | |
7 | !('CI' in process.env) | |
8 | ); | |
9 | }; |
Note:
See TracBrowser
for help on using the repository browser.