ash-project / igniter

A code generation and project patching framework.
https://hexdocs.pm/igniter/readme.html
MIT License
106 stars 10 forks source link

fix: pass file_path to `ensure_default_configs_exist` #36

Closed ibarakaiev closed 2 months ago

ibarakaiev commented 2 months ago

Contributor checklist

There's a tiny subtle bug when ensuring default configs exist, which is that file_name (i.e. dev.exs) is passed into ensure_default_configs_exist which has guards on file paths instead, i.e. config/dev.exs, so it never gets invoked. This PR fixes it by passing the full file_path instead.