Skip to content

Commit

Permalink
Remove special case for Elixir versions before 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
adam12 committed Sep 15, 2024
1 parent 5d8afca commit 5e3df5f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@ defmodule EctoNetwork.Mixfile do
end

defp lockfile do
if function_exported?(System, :get_env, 2) do
System.get_env("LOCKFILE", "mix.lock")
else
System.get_env("LOCKFILE") || "mix.lock"
end
System.get_env("LOCKFILE", "mix.lock")
end

defp docs do
Expand Down

0 comments on commit 5e3df5f

Please sign in to comment.