Skip to content

Commit

Permalink
Require stream_data only from Elixir 1.12
Browse files Browse the repository at this point in the history
Summary:

Test Plan:
  • Loading branch information
michalmuskala committed Jun 29, 2024
1 parent e9702d4 commit 5c309b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defmodule Jason.Mixfile do
end

defp maybe_stream_data() do
if Version.match?(System.version(), "~> 1.5") do
if Version.match?(System.version(), "~> 1.12") do
[{:stream_data, "~> 1.0", only: :test}]
else
[]
Expand Down

0 comments on commit 5c309b1

Please sign in to comment.