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.
loadTemplate
has theyml
extension hardcoded in the forestry migrator. It is valid for these files to use ayaml
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