Skip to content

Commit

Permalink
fix: Fix warnings when using Elixir 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
jfpedroza committed Jul 12, 2024
1 parent 4272f69 commit 1dfa9a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ workflows:
- test:
matrix:
parameters:
elixir: ["1.12", "1.13", "1.14", "1.15", "1.16"]
elixir: ["1.12", "1.13", "1.14", "1.15", "1.16", "1.17"]
4 changes: 2 additions & 2 deletions lib/mix_test_interactive/command_processor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ defmodule MixTestInteractive.CommandProcessor do
end

defp usage_line(command) do
IO.ANSI.format_fragment(["› ", :bright, command.name, :normal, " to ", command.description, ".\n"])
IO.ANSI.format_fragment(["› ", :bright, command.name(), :normal, " to ", command.description(), ".\n"])
end

defp process_command(command, args, settings) do
case settings
|> applicable_commands()
|> Enum.find(nil, &(&1.command == command)) do
|> Enum.find(nil, &(&1.command() == command)) do
nil -> :unknown
cmd -> cmd.run(args, settings)
end
Expand Down

0 comments on commit 1dfa9a9

Please sign in to comment.