1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
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;