LLNL / blt-phpmd

GNU General Public License v2.0
0 stars 3 forks source link

Command fails is folder don't exist. #1

Open patrickcate opened 11 months ago

patrickcate commented 11 months ago

Thanks for making this great plugin. I've run into an issue using it regarding the docroot/**/custom paths. If any of the folders don't exist, then the command fails.

This is probably not common for the modules and theme custom folders, but I don't use a custom distribution so it fails for that.

Maybe a check can be added to make sure the folder's exist?

Also, I think you can customize the docroot used by BLT in the blt.yml file so using the docroot folder name may not be reliable either.

patrickcate commented 11 months ago

I created https://github.com/LLNL/blt-phpmd/pull/2 which I think fixes the issue.