Skip to content

Commit 8f930e8

Browse files
committed
fix warning: IEx.started?/0 defined in application :iex is used by the current application but the current application does not directly depend on :iex
1 parent 716122c commit 8f930e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mix.exs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ defmodule Scenic.Mixfile do
3636
end
3737

3838
def application do
39-
[
40-
# mod: {Scenic, []},
41-
extra_applications: [:logger]
42-
]
39+
case Mix.env() do
40+
:dev ->[extra_applications: [:logger, :iex]]
41+
_ -> [extra_applications: [:logger]]
42+
end
4343
end
4444

4545
defp deps do

0 commit comments

Comments
 (0)