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

Fix the warning not being printed when -i/--interactive/--no-server/--bsp are not the first argument #3346

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

mkwpz
Copy link
Contributor

@mkwpz mkwpz commented Aug 7, 2024

The bug stems from the fact that a PipedInputStream is passed to MillMain.main0 where DummyInputStream used to be. This PR fixes the bug by using a PipedInputStream instead of a DummyInputStream on the check that leads to the warning being printed.
Fixes #2869.

@lihaoyi lihaoyi merged commit e29eb1e into com-lihaoyi:main Aug 8, 2024
30 checks passed
@lihaoyi
Copy link
Member

lihaoyi commented Aug 8, 2024

Thanks @mkwpz! Email me your bank transfer details to haoyi.sg@gmail.com and I'll close out the bounty

@lefou lefou added this to the after 0.11.11 milestone Aug 8, 2024
@mkwpz
Copy link
Contributor Author

mkwpz commented Aug 9, 2024

@lihaoyi I've sent you an email.

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.

-i and --no-server gets ignored with no error when passed as the second option (200USD Bounty)
3 participants