@tinycloud/cli 1.3.0 → 1.3.1-beta.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.
@@ -32540,7 +32540,7 @@ ${scope.text}
32540
32540
  `);
32541
32541
  let confirmedExtras = false;
32542
32542
  if (scope.extras.length > 0 && options2.yes !== true) {
32543
- if (!isInteractive()) {
32543
+ if (!process.stdin.isTTY || !process.stderr.isTTY) {
32544
32544
  throw new CLIError(
32545
32545
  "CONFIRMATION_REQUIRED",
32546
32546
  `This request asks for more than the apps-agent preset (${scope.extras.length} entr${scope.extras.length === 1 ? "y" : "ies"} marked ! in the list above). Nothing was signed. Read the list, then re-run with --yes to sign it.`,