Skip to content

Commit d98b1e3

Browse files
authored
update release warning (#356)
1 parent 2b8df98 commit d98b1e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/elixir_ls_utils/lib/mix.tasks.elixir_ls.release.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ defmodule Mix.Tasks.ElixirLs.Release do
4242
defp version_warning do
4343
{otp_version, _} = Integer.parse(to_string(:erlang.system_info(:otp_release)))
4444

45-
if otp_version > 20 do
45+
if otp_version > 21 do
4646
IO.warn(
47-
"Building with Erlang/OTP #{otp_version}. Make sure to build with OTP 20 if " <>
47+
"Building with Erlang/OTP #{otp_version}. Make sure to build with OTP 21 if " <>
4848
"publishing the compiled packages because modules built with higher versions are not " <>
4949
"backwards-compatible.",
5050
[]

0 commit comments

Comments
 (0)