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

Add check on links #199

Closed
gfriloux opened this issue Feb 10, 2023 · 1 comment · Fixed by #200
Closed

Add check on links #199

gfriloux opened this issue Feb 10, 2023 · 1 comment · Fixed by #200
Labels
C-Bug Something isn't working

Comments

@gfriloux
Copy link

gfriloux commented Feb 10, 2023

rotz is missing a sanity check on links.

PEBKAC from your servitor here happened:
I have a file named config declared as :

links:
  condig:~/.gitconfig

As you can see, there is a typo in the name.
rotz then created a dead link.

i don't think rotz should create deadlinks, it should error, telling the file condig does not exists (and optionally, telling me i am stupid :) ).

PS: Thanks for the tool!

@volllly volllly linked a pull request Feb 12, 2023 that will close this issue
@volllly volllly added the C-Bug Something isn't working label Feb 12, 2023
@volllly
Copy link
Owner

volllly commented Feb 12, 2023

Hey @gfriloux, thanks alot for reporting :)
I've added checks and a nice error message in the just released v0.9.3

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

Successfully merging a pull request may close this issue.

2 participants