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

--config flag is deprecated warning #5

Open
samrose opened this issue Nov 24, 2019 · 0 comments
Open

--config flag is deprecated warning #5

samrose opened this issue Nov 24, 2019 · 0 comments

Comments

@samrose
Copy link

samrose commented Nov 24, 2019

MIX_ENV=prod mix run -c config/config.exs --no-deps-check --no-halt warning: the --config flag is deprecated. If you need to handle multiple configurations, it is preferrable to dynamically import them in your config files (mix) lib/mix/tasks/run.ex:158: anonymous fn/1 in Mix.Tasks.Run.process_config/1 (elixir) lib/enum.ex:783: Enum."-each/2-lists^foreach/1-0-"/2 (elixir) lib/enum.ex:783: Enum.each/2 (mix) lib/mix/tasks/run.ex:122: Mix.Tasks.Run.run/5 (mix) lib/mix/tasks/run.ex:85: Mix.Tasks.Run.run/1

An application will still start despite this warning however

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

No branches or pull requests

1 participant