Skip to content

Commit 46db0d4

Browse files
author
José Valim
committed
Fix typo on CLI --app parsing
1 parent f2ec778 commit 46db0d4

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
@@ -139,7 +139,7 @@ defmodule Kernel.CLI do
139139
end
140140

141141
defp parse_shared(["--app", h|t], config) do
142-
parse_shared t, %{config | commands: &[{:app, h}|&1]}
142+
parse_shared t, %{config | commands: [{:app, h} | config.commands]}
143143
end
144144

145145
defp parse_shared(["--no-halt"|t], config) do

0 commit comments

Comments
 (0)