setup-python/node_modules/jest-util/build/isInteractive.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

27 lines
545 B
JavaScript

'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;