Skip to content

Commit bb74410

Browse files
committed
Fix warning about preferred_cli_env
1 parent c282acd commit bb74410

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
@@ -22,10 +22,6 @@ defmodule Sentry.Mixfile do
2222
plt_add_apps: [:mix, :ex_unit]
2323
],
2424
test_coverage: [tool: ExCoveralls],
25-
preferred_cli_env: [
26-
"coveralls.html": :test,
27-
"test.integrations": :test
28-
],
2925
name: "Sentry",
3026
docs: [
3127
extra_section: "Guides",
@@ -84,6 +80,10 @@ defmodule Sentry.Mixfile do
8480
]
8581
end
8682

83+
def cli do
84+
[preferred_envs: ["coveralls.html": :test, "test.integrations": :test]]
85+
end
86+
8787
defp extra_applications(:test), do: [:logger, :opentelemetry]
8888
defp extra_applications(_other), do: [:logger]
8989

0 commit comments

Comments
 (0)