gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
158 stars 12 forks source link

Fix template rendering for skip files and engines #81

Closed yorinasub17 closed 2 years ago

yorinasub17 commented 2 years ago

The path and not_path attributes for skip_files and engines was not being rendered through boilerplate templating, when we want it to support that.

As a bonus, this adds more logging on glob failures so it is easier to understand what is going on. Otherwise, you get an unhelpful error message that simply states file does not exist.

yorinasub17 commented 2 years ago

Thanks for review! Will merge this as I need this in the feature I'm working on right now in architecture catalog.