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

27 lines
545 B
JavaScript
Raw Normal View History

2019-06-27 03:12:00 +02: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;