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

remove redundant user_wants_to_continue function #227

Merged
merged 2 commits into from
Dec 9, 2021

Conversation

Crypto-Spartan
Copy link
Contributor

after #217, there were 2 functions in utils/questions.rs that were nearly identical, the only difference being the string passed to the user for confirmation. This PR merges the functions into a single function and creates an enum (QuestionAction) to pass to the function to choose the respective compression/decompression option for the string.

@Crypto-Spartan
Copy link
Contributor Author

Crypto-Spartan commented Dec 8, 2021

There was a check that failed with cargo fmt. I added another commit to make it happy.

@marcospb19 marcospb19 added the enhancement New feature or request label Dec 9, 2021
@marcospb19 marcospb19 merged commit add6a59 into ouch-org:master Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants