setup-python/node_modules/jest-util/build/isInteractive.js

27 lines
545 B
JavaScript
Raw Normal View History

2019-06-27 08:12:00 +07:00
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = void 0;
function _isCi() {
const data = _interopRequireDefault(require('is-ci'));
_isCi = function _isCi() {
return data;
};
return data;
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
var _default =
!!process.stdout.isTTY && process.env.TERM !== 'dumb' && !_isCi().default;
exports.default = _default;