NET-Web-API-w-Angular/my-app/node_modules/is-interactive/index.js

10 lines
180 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
'use strict';
module.exports = ({stream = process.stdout} = {}) => {
return Boolean(
stream && stream.isTTY &&
process.env.TERM !== 'dumb' &&
!('CI' in process.env)
);
};