Foodcritic / foodcritic

Lint tool for Chef cookbooks.
http://foodcritic.io
MIT License
408 stars 153 forks source link

Properly discover templates not in templates/default/ #751

Closed tas50 closed 6 years ago

tas50 commented 6 years ago

In Chef 12 we made it so you no longer needed to stick templates in the "default" directory, but foodcritic was still expecting them to be in a directory. This simple fix makes it so we can work with both cases.

Signed-off-by: Tim Smith tsmith@chef.io