3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-26 20:19:35 +01:00
setup-python/node_modules/jest-util/build/isInteractive.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

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