CloudCannon / cloudcannon-config-migrator

Migrate your existing cms configuration into CloudCannon config
MIT License
6 stars 0 forks source link

Using a forestry template with .yaml extension throws #10

Closed georgephillips closed 1 year ago

georgephillips commented 1 year ago

loadTemplate has the yml extension hardcoded in the forestry migrator. It is valid for these files to use a yaml extension. The migrator object has the list of files (migrator.files) which could be used to check for any file that matches the templateName without the extension.

https://github.com/CloudCannon/cloudcannon-config-migrator/blob/main/src/migrations/forestry.js#L118

georgephillips commented 1 year ago

Resolved in https://github.com/CloudCannon/cloudcannon-config-migrator/pull/11