Skip to content

Commit d1edad3

Browse files
committed
--app argument should be converted to atom
1 parent 74584ad commit d1edad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel/cli.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ defmodule Kernel.CLI do
288288
end
289289

290290
defp process_command({:app, app}, _config) when is_binary(app) do
291-
case :application.ensure_all_started(app) do
291+
case :application.ensure_all_started(binary_to_atom(app)) do
292292
{ :error, reason } ->
293293
{ :error, "--app : Could not start application #{app}: #{inspect reason}" }
294294
{ :ok, _ } ->

0 commit comments

Comments
 (0)