Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phx.new - Fix deprecation warning when using Elixir ~> 1.18 #5940

Merged

Conversation

psantos10
Copy link
Contributor

When generating a new application using Elixir 1.18.0-dev, this warning is raised:

Compiling 1 file (.ex)
warning: Mix.Rebar.rebar_cmd/1 is deprecated. Use rebar_args/2 or available?/1 instead

275 │ Mix.Rebar.rebar_cmd(:rebar3)
│ ~

└─ lib/mix/tasks/phx.new.ex:275:17: Mix.Tasks.Phx.New.rebar_available?/0

Not sure if this is a good practice, but that's I come up with.

@josevalim josevalim merged commit 31b23ca into phoenixframework:main Oct 22, 2024
5 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants