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

chore: drop persistent printing behaviour, default to stdout #231

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

miraclx
Copy link
Owner

@miraclx miraclx commented Jul 3, 2022

Before now, freyr autodetects if its output was being piped, and forces write to a tty instead of the pipe.

This reverts that behaviour. By default, we now print to stdout.

Only the progressbar is forced to a tty and is exempt from the stream.

@github-actions
Copy link

github-actions bot commented Jul 3, 2022


🐋 🤖

A docker image for this PR has been built!

docker pull freyrcli/freyrjs-git:pr-231

What's this?

This docker image is a self-contained sandbox that includes all the patches made in this PR. Allowing others to easily use your patches without waiting for it to get merged and released officially.

For more context, see https://github.com/miraclx/freyr-js#docker-development.

@miraclx miraclx merged commit bc0ad10 into master Jul 3, 2022
@miraclx miraclx deleted the generic-tty-print branch July 3, 2022 02:36
@miraclx miraclx mentioned this pull request Aug 4, 2022
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.

None yet

1 participant