diff --git a/src/Command/App/LogTailCommand.php b/src/Command/App/LogTailCommand.php index feaf60209..eb00a1337 100644 --- a/src/Command/App/LogTailCommand.php +++ b/src/Command/App/LogTailCommand.php @@ -54,7 +54,7 @@ protected function configure(): void protected function execute(InputInterface $input, OutputInterface $output): int { - $environment = $this->determineEnvironment($input, $output); + $environment = $this->determineEnvironment($input, $output, true); $acquiaCloudClient = $this->cloudApiClientService->getClient(); $logs = $this->promptChooseLogs(); $logTypes = array_map(static function (mixed $log) { diff --git a/src/Command/Remote/DrushCommand.php b/src/Command/Remote/DrushCommand.php index be04d1400..36e7c52fa 100644 --- a/src/Command/Remote/DrushCommand.php +++ b/src/Command/Remote/DrushCommand.php @@ -33,7 +33,7 @@ protected function configure(): void protected function execute(InputInterface $input, OutputInterface $output): ?int { - $environment = $this->determineEnvironment($input, $output); + $environment = $this->determineEnvironment($input, $output, true); $alias = self::getEnvironmentAlias($environment); $acliArguments = $input->getArguments(); $drushArguments = (array) $acliArguments['drush_command'];