Skip to content

Commit

Permalink
Added patch as a dev dependency
Browse files Browse the repository at this point in the history
Patch's assertions will fail in CI due to `mix format
--check-formatted` running in dev. Importing patch's deps in test will
fix this.
  • Loading branch information
scohen committed Jan 19, 2023
1 parent 07a4be8 commit b23a87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/language_server/.formatter.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ impossible_to_format = [
]

deps =
if Mix.env() == :test do
if Mix.env() in [:dev, :test] do
[:patch]
else
[]
Expand Down

0 comments on commit b23a87d

Please sign in to comment.