-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Error with base dir <empty>
#320
Comments
Do you use the latest stable release v0.7.1 or build it from master? Dump question, as it says Local file check support has been added: #262 But before this feature was added, internal links with absolute paths were silently ignored if no Another thing is that Related code for the first issue: https://github.com/lycheeverse/lychee/blob/f143087/lychee-lib/src/helpers/path.rs#L37-L58
Related code where excludes are handled: https://github.com/lycheeverse/lychee/blob/93948d7/lychee-lib/src/client.rs#L171-L200
|
I see three options moving forward:
In the long run I lean towards option 3. It would be what I expect if I run This requires quite some refactoring, so in the meantime we could go with option 1 to not break any existing user workflows. |
I vote for option 1 + adding a note to the usage that Option 3 would imply too many assumptions and/or complicated checks and steps to do it mostly right, IMHO. Better to force users being explicit about what they want than being too implicit with much effort and always the chance to still assume wrong. |
You have a good point there. I changed my mind. Unless anyone else brings up a good argument against it, let's go with option 1. |
Thank you! This issue is fixed. ❤️ |
Hi, I use Lychee in GitHub Actions, which worked perfectly until this week. I got this error today:
I tried to add
--exclude /download
in args, but the error persists. It still checks/download
.I can't set
--base
because it will affect other relative links with different base URL. Is there a way to fix the error? Thank you!The text was updated successfully, but these errors were encountered: