You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mix - Format: Add a failing test for .formatter.exs in a different folder
The new test case builds on the "can read exported configuration from
dependencies"-test. It tests that `mix format` can be called with
`--dot-formatter ../.formatter.exs` when the `../.formatter.exs`
contains `import_deps: [:my_dep]`.
The `my_dep` dependency in turn can be found in `../deps/my_dep`.
Right now this test fails. It seems like `mix format` tries to load the
dependency from the workdir instead rather than from the same folder the
provided `.formatter.exs` resides.
TL;DR: mix format tries to load dependencies from the wrong folder, when
passing a `.formatter.exs` in another folder
0 commit comments