@midscene/cli 1.10.0 → 1.10.1-beta-20260624112700.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/framework/index.mjs +5 -1
- package/dist/es/framework/index.mjs.map +1 -1
- package/dist/es/index.mjs +7 -5
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/framework/index.js +5 -1
- package/dist/lib/framework/index.js.map +1 -1
- package/dist/lib/index.js +7 -5
- package/dist/lib/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -3305,7 +3305,11 @@ async function createYamlPlayer(file, script, options) {
|
|
|
3305
3305
|
}
|
|
3306
3306
|
var source = __webpack_require__("../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js");
|
|
3307
3307
|
var source_default = /*#__PURE__*/ __webpack_require__.n(source);
|
|
3308
|
-
|
|
3308
|
+
function resolveIsTTY(env = process.env, stdoutIsTTY = process.stdout.isTTY) {
|
|
3309
|
+
if (env.MIDSCENE_CLI_LOG_ON_NON_TTY || env.NO_COLOR || 'dumb' === env.TERM || env.CI) return false;
|
|
3310
|
+
return Boolean(stdoutIsTTY);
|
|
3311
|
+
}
|
|
3312
|
+
const isTTY = resolveIsTTY();
|
|
3309
3313
|
const indent = ' ';
|
|
3310
3314
|
const spinnerInterval = 80;
|
|
3311
3315
|
const spinnerFrames = [
|