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

[bug] File extraction results in an incorrectly named output folder #698

Open
alphabitserial opened this issue Dec 19, 2024 · 0 comments · May be fixed by #716
Open

[bug] File extraction results in an incorrectly named output folder #698

alphabitserial opened this issue Dec 19, 2024 · 0 comments · May be fixed by #716

Comments

@alphabitserial
Copy link

Cosmic-files version: 1.0.0.alpha.4.r0.g2fa8e6a-1

Issue/Bug description: Extracting the file fish-static-amd64.tar.xz created a folder fish-static-amd64 (Copy 1).tar.xz to place the files into

Steps to reproduce: The file is from here

Expected behavior: The archive should be extracted into a folder fish-static-amd64

Other notes:
image

joshuamegnauth54 added a commit to joshuamegnauth54/cosmic-files that referenced this issue Jan 3, 2025
Closes: pop-os#698

I ended up fixing a few Clippy lints while tracking down this problem.
It turns out that the issue was way simpler than I assumed: ".tar.xz"
needed to be added to a slice of extensions to strip.
@joshuamegnauth54 joshuamegnauth54 linked a pull request Jan 3, 2025 that will close this issue
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 a pull request may close this issue.

1 participant