Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix logic to check for TTY#146

Merged
schlessera merged 1 commit into
wp-cli:masterwp-cli/php-cli-tools:masterfrom
dan-m-joh:patch-1dan-m-joh/php-cli-tools:patch-1Copy head branch name to clipboard
Aug 11, 2022
Merged

Fix logic to check for TTY#146
schlessera merged 1 commit into
wp-cli:masterwp-cli/php-cli-tools:masterfrom
dan-m-joh:patch-1dan-m-joh/php-cli-tools:patch-1Copy head branch name to clipboard

Conversation

@dan-m-joh

Copy link
Copy Markdown
Contributor

The function isTty() in Streams.php returns wrong information.
If the output is to an TTY then it returns false and if the output is a pipe or file it returns true, it should be the other way around.

The function isTty() in Streams.php returns wrong information.
If the output is to an TTY then it returns false and if the output is a pipe or file it returns true, it should be the other way around.
@schlessera schlessera merged commit b565706 into wp-cli:master Aug 11, 2022
@schlessera schlessera changed the title Update Streams.php Fix logic to check for TTY Aug 11, 2022
@schlessera schlessera added this to the 0.11.15 milestone Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.