Skip to content

fix(@angular/cli): use recommended TTY check logic#14678

Merged
alexeagle merged 1 commit into
angular:masterfrom
clydin:fix-tty-check
Jun 6, 2019
Merged

fix(@angular/cli): use recommended TTY check logic#14678
alexeagle merged 1 commit into
angular:masterfrom
clydin:fix-tty-check

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Jun 5, 2019

stdin can be redirected/piped by various shells but still be interactive. Node.js recommends only testing stdout: https://nodejs.org/api/tty.html#tty_tty
Also cleans up the CI environment variable logic for the false case.

Fixes #14640

@clydin clydin added the target: patch This PR is targeted for the next patch release label Jun 5, 2019
@clydin clydin requested a review from alan-agius4 June 5, 2019 16:31
`stdin` can be redirected/piped by various shells but still be interactive.  Node.js recommends only testing `stdout`: https://nodejs.org/api/tty.html#tty_tty

Fixes angular#14640
@alexeagle alexeagle merged commit 2334a7c into angular:master Jun 6, 2019
@clydin clydin deleted the fix-tty-check branch June 6, 2019 21:45
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a new Angular 8 project doesn't give me options

4 participants