@midscene/cli 1.9.8 → 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
|
@@ -3599,7 +3599,11 @@ defineYamlBatchTest(test, testOptions);
|
|
|
3599
3599
|
}
|
|
3600
3600
|
var source = __webpack_require__("../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js");
|
|
3601
3601
|
var source_default = /*#__PURE__*/ __webpack_require__.n(source);
|
|
3602
|
-
|
|
3602
|
+
function resolveIsTTY(env = process.env, stdoutIsTTY = process.stdout.isTTY) {
|
|
3603
|
+
if (env.MIDSCENE_CLI_LOG_ON_NON_TTY || env.NO_COLOR || 'dumb' === env.TERM || env.CI) return false;
|
|
3604
|
+
return Boolean(stdoutIsTTY);
|
|
3605
|
+
}
|
|
3606
|
+
const isTTY = resolveIsTTY();
|
|
3603
3607
|
const indent = ' ';
|
|
3604
3608
|
const spinnerInterval = 80;
|
|
3605
3609
|
const spinnerFrames = [
|