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 warning for zip with additional formats #239

Merged
merged 6 commits into from
Mar 3, 2022

Conversation

Crypto-Spartan
Copy link
Contributor

@Crypto-Spartan Crypto-Spartan commented Jan 4, 2022

resolves #231

Additionally, I changed the return type of compress_files() from Result<()> to Result<bool>.

Previously, if a user had selected no when prompted to continue compression:

  • there would still be an output message that said compression was successful
  • there would be a leftover archive file with nothing in it

This is an example of what the message used to look like:
image

The fix removes the incorrect INFO message when a user selects n as well as deletes the empty archive file.

@marcospb19
Copy link
Member

Did minor changes and had to solve conflicts twice :V

Waiting for CI to merge.

@marcospb19 marcospb19 merged commit 4649bbc into ouch-org:master Mar 3, 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.

Warning for compressing with Zip with additional formats is thrown incorrectly
2 participants