Skip to content

Commit

Permalink
Revert "Also bail if the stream is not interactive"
Browse files Browse the repository at this point in the history
This reverts commit ab6ef83.
  • Loading branch information
caendesilva committed Dec 22, 2024
1 parent ab6ef83 commit 90036dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class PublishViewsCommand extends Command

public function handle(): int
{
if ($this->isInteractive() && (ConsoleHelper::usesWindowsOs() || ! stream_isatty(STDIN))) {
if ($this->isInteractive() && ConsoleHelper::usesWindowsOs()) {
$this->error('Due to limitations in the Windows version of PHP, it is not currently possible to use interactive mode on Windows outside of WSL.');

return Command::FAILURE;
Expand Down

0 comments on commit 90036dc

Please sign in to comment.