TechWiz-3 / linksafe

🔗 Scan links in your repo to ensure they are valid. Works in private repos!
GNU General Public License v3.0
7 stars 2 forks source link

Whitelist Files #3

Closed beucismis closed 2 years ago

beucismis commented 2 years ago

Hi friend, I added a new file to my repository. I have whitelist (linkcheck.yml) this file. But it didn't work.

https://github.com/beucismis/awesome-fetch/actions/runs/3096274082/jobs/5011636944

TechWiz-3 commented 2 years ago

Hey man, thanks for opening this issue.

I think I know what the issue in my code is, I'm testing right now and will get back to you as soon as possible 👍

TechWiz-3 commented 2 years ago

I have fixed the problem, it should work with no problems now. Thanks a lot for bringing this bug to my attention, it allowed me to improve my code a lot 🙏

In case you're curious, the issue was that the files without a ./ before them were not being recognised as the function that gets the file paths always returns with a relative path. I fixed this by adding a ./ to the start of whitelist files and directories that don't already have it 👍

beucismis commented 2 years ago

It's work. Thanks. Good luck...

TechWiz-3 commented 2 years ago

You too brother 💪

TechWiz-3 commented 2 years ago

And thanks for the star :)