Skip to content

added defensive check to not assume that key exists #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2018
Merged

added defensive check to not assume that key exists #5

merged 1 commit into from
Jul 16, 2018

Conversation

rramphal
Copy link
Contributor

Instead of assuming that process.stdin will return an object, add a check to make sure that it does before trying to access process.stdin.isTTY.

This surfaced while trying to spin up https://github.com/jsbin/jsbin/tree/feat/next-v5 locally.

@remy remy merged commit 19976ee into jsbin:master Jul 16, 2018
@remy
Copy link
Member

remy commented Jul 16, 2018

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants