bscan / PerlNavigator

Perl Language Server that includes syntax checking, perl critic, and code navigation
MIT License
198 stars 39 forks source link

File::Find dies when a duplicate file is found #115

Closed drgrice1 closed 7 months ago

drgrice1 commented 7 months ago

It seems that follow_skip => 2 needs to be added around line 27 of server/src/perl/lib_bs22/ModHunter.pl. I am seeing an issue on Ubuntu 22.04 where /usr/share/javascript/bootstrap4/css/bootstrap.min.css is encountered a second time. This results in ModHunter failing.

bscan commented 7 months ago

Thanks @drgrice1! I haven't seen this happen before, it must be related to some symlink layout or series of nested directories. It looks like a safe fix though. It's now available as version 0.8.3 in the vscode marketplace. I need to do some testing on the NPM version and will push to NPM soon as well. Thank you for reporting the issue and for finding a fix.

drgrice1 commented 7 months ago

Thanks. Looking forward to the next release.