Skip to content
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

Revert "Use a less strict check on encoding to avoid if" #273

Merged
merged 2 commits into from
May 12, 2019
Merged

Revert "Use a less strict check on encoding to avoid if" #273

merged 2 commits into from
May 12, 2019

Conversation

anszom
Copy link
Contributor

@anszom anszom commented Mar 9, 2019

This reverts commit 16a36a8.

That commit introduced a bug where Pty.open would return
an UTF8-encoded stream regardless of specified options.

Note that the if cannot be avoided, because setEncoding(null) defaults to utf-8, while we expect null to mean 'raw buffers'.

This reverts commit 16a36a8.

That commit introduced a bug where Pty.open would return
an UTF8-encoded stream regardless of specified options.
@Tyriar Tyriar added this to the 0.8.1 milestone Mar 17, 2019
@Tyriar Tyriar modified the milestones: 0.8.1, 0.8.2 May 2, 2019
@Tyriar
Copy link
Member

Tyriar commented May 12, 2019

Thanks for spotting this @anszom, sorry about the delay 🙂

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