stamen / mapbox-gl-style-build

Build Mapbox GL styles by composing layers
MIT License
5 stars 3 forks source link

Show nested path for style warnings #19

Closed aparlato closed 1 year ago

aparlato commented 1 year ago

Closes #18

This PR updates warnings to show the relative style path to the style with a problem in it. Previously, it warned only on the most nested directory name.

I considered just using the actual style name property, but I think using the path gives users more insight into where to make the change, so I kept that similar to how it was before. Let me know if you disagree here!

QA