Skip to content

Commit e3ba95a

Browse files
committed
do not fetch excoveralls from hex mirror
1 parent ca28ee7 commit e3ba95a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mix.exs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,16 @@ defmodule ElixirSense.MixProject do
4040

4141
defp deps do
4242
[
43-
{:excoveralls, "~> 0.17", only: :test},
4443
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
4544
# TODO: Uncomment this when we have a credo version that supports OTP 28
4645
# {:credo, "~> 1.0", only: [:dev], runtime: false},
4746
{:ex_doc, "~> 0.18", only: [:dev], runtime: false}
48-
]
47+
] ++
48+
if System.get_env("HEX_MIRROR") != "https://cdn.jsdelivr.net/hex" do
49+
[{:excoveralls, "~> 0.17", only: :test}]
50+
else
51+
[]
52+
end
4953
end
5054

5155
defp docs do

0 commit comments

Comments
 (0)