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: remove tweet functionality if no browser available #4

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

jrnxf
Copy link
Owner

@jrnxf jrnxf commented Apr 27, 2022

What:
Remove tweet functionality if no browser is available.

Why:
Makes it so users running thokr in a docker container aren't shown a tweet option that won't work.

This
How:
Uses the newly updated 0.7.1 version of webbrowser-rs which exposes Browser::is_available().

Checklist:

  • Documentation added
  • Tests added
  • No linting errors / broken tests
  • Merge ready

@jrnxf jrnxf linked an issue Apr 27, 2022 that may be closed by this pull request
@jrnxf jrnxf merged commit a062ec8 into main Apr 27, 2022
@jrnxf jrnxf deleted the issue/1-tweet-doesnt-work-in-docker-container branch April 27, 2022 15:55
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.

(t)weet doesn't work in Docker container
2 participants