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

Using ~ for home in outfile parameter of configuration file will parse unexpectedly #219

Open
skyleo opened this issue Sep 11, 2024 · 1 comment · May be fixed by #250
Open

Using ~ for home in outfile parameter of configuration file will parse unexpectedly #219

skyleo opened this issue Sep 11, 2024 · 1 comment · May be fixed by #250
Labels
bug Something isn't working

Comments

@skyleo
Copy link

skyleo commented Sep 11, 2024

Describe the bug
Using ~ in path for outfile parameter in your configuration file will not be parsed as expected.
Instead a folder called '~' will be created starting from the home directory.

To Reproduce
Steps to reproduce the behavior:

  1. Write outfile = "~/mirrorlist" under [general] in your configuration file
  2. Execute mirro-rs
  3. Export mirrorlist
  4. mirrorlist will be exported to /home/user/~/mirrorlist

Expected behavior
Mirrorlist should be exported to /home/user/mirrorlist

Desktop (please complete the following information):

  • OS: Arch Linux - 6.10.8-arch1-1
  • Terminal: Alacritty, zsh
  • mirro-rs version: 0.2.3
@skyleo skyleo added the bug Something isn't working label Sep 11, 2024
@rtkay123 rtkay123 linked a pull request Oct 27, 2024 that will close this issue
@rtkay123
Copy link
Owner

May you give this branch a test: fix/tilde. PR is linked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants